Precisely. It's a bozo-filter. _You_ know you're not a bozo but the interviewer doesn't (yet).
I ask questions like this in interviews because experience shows that a significant percentage of supposedly experienced developers have trouble with them.
If you ace the simple questions, you'll get something harder next.
I ask questions like this in interviews because experience shows that a significant percentage of supposedly experienced developers have trouble with them.
If you ace the simple questions, you'll get something harder next.