The article discusses the author's favorite coding question to ask candidates during interviews. It emphasizes the importance of clarifying questions, understanding code complexity, and optimizing solutions. The question involves generating a list of loyal customers based on log files. The article highlights different

10m read timeFrom carloarg02.medium.com
Post cover image
Table of contents
My favorite coding question to give candidates (and why)Ask Clarifying QuestionsNaive solution firstTuning O(n²) into O(n)Optimizing Your SolutionThe Other SolutionIn conclusion
4 Comments

Sort: