News for hackers. Stuff that matters.
Re:Poll: Is the leetcode grind necessary to land a high payi... by throwaway2037 on Thursday January 27, 2022 @10:04AM (#30101384)
I too am supportive of using LeetCode-style easy problems. FizzBuzz used to be all the rage, but dummies have memorised that now. :)

For a long time, I used an easy-to-understand, but hard-to-be-perfect interview problem: Please implement the classic C-function atoi() [string to int] in any language. (The candidate cannot use a built-in to do the parse!)

The best candidates immediately dissect the problem and start to ask about edge cases. The worst ask no questions and very rarely do a good job, and never think about test cases.

There are no comments on this comment yet.