News for hackers. Stuff that matters.
Re:An Algorithm for Passing Programming Interviews (2020) by esyir on Sunday January 02, 2022 @10:36PM (#29777045)
What you do in leetcode is different from what you'd do in an actual interview though. In leetcode, I don't even bother with the trivial solution, as that would never pass the testcases. However, for an interview, I'd always start with the trivial brute force solution, at least to get out a base solution to evaluate, describe and then iterate on,

There are no comments on this comment yet.