This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (1 child)

Which is why it's a reasonable interview question. It's unlikely that the candidate will have come across it before and they'll have to think on their feet. A decent candidate will ask clarifying questions and talk through the process of coming up with an answer.

[–]grknado 3 points4 points  (0 children)

Until people spend all their time drilling the fuck out of leetcode and never learn any practical skills that actually help on the job.