| If I encountered this test, here’s what I’d think (or hope) is being evaluated: - Do you understand the problem, or seek better understanding if not? (Obviously the problem here isn’t extrapolating arithmetic, but identifying the importance of an atomic operation.) - Do you recognize the value of the change, or question it if it feels non-obvious? - How do you think about approaching an unfamiliar codebase/code path? - How do you think about the challenges you encountered while working on the problem? - What else felt important to you that I’m not looking for? All of these questions provide a lot more information than “can you write code?” Especially meaningful for evaluating actual fit is reactions to walking into pre-existing code. In fact I think this has been, at least subconsciously, my best heuristic for assessing colleagues’ skill maturity. “Juniors” will stare at a problem or ask a lot of easily answered questions; “mid level” devs will bang their heads trying to answer without asking; “senior” devs will have a good intuition for which challenges are discoverable and which are best solved by asking a human or a google or whatever, or at least for recognizing the distinction after some time exploring the problem. |
But probably not what the interviewer wants to hear - maybe.