News for hackers. Stuff that matters.
Re:An Algorithm for Passing Programming Interviews (2020) by dvirsky on Monday January 03, 2022 @03:54AM (#29778705)
Exactly. The only scenario in which I actually reveal the optimal complexity is when they got the best solution and are still struggling to see if there's a better one. It's better if they understand that it is optimal but I don't let people waste more than a minute or two on this. If their solution is not optimal I just say something like "Is this optimal?" or "Is there a better way?", and take it from there as a dialog.

There are no comments on this comment yet.