|
|
|
|
|
by Pyxl101
3232 days ago
|
|
I wouldn't ask this question but I don't think it's irrelevant. It shows you that the person understands concepts like recursion, is familiar with data structures like trees, and understands how to express and work with those concepts in code. Completing this problem should take only a few minutes and tells you whether a candidate has a basic degree of competence. When someone breezes through a problem like this, you learn something. If someone struggles with it, you also learn something. You can use that knowledge to calibrate subsequent questions and find the limits of their knowledge. I would be skeptical about the effectiveness of software engineer candidate who isn't comfortable with trees or recursion or algorithms like search. It's a weed-out question like FizzBuzz. I wouldn't ask this question because I think there are better questions available that allows candidates to demonstrate mastery of concepts like these and also have depth so you can go into substantially more detail when the candidate performs well. (And questions that permit multiple solutions, etc.) |
|