News for hackers. Stuff that matters.
Re:Ask HN: Did preparing for LeetCode type of interviews imp... by hocuspocus on Friday May 28, 2021 @05:05AM (#27313205)
Still, leetcode might teach you to write code that passes time and memory constraints, but it certainly won't teach you how to write clean code that passes a code review.
Re:Ask HN: Did preparing for LeetCode type of interviews imp... by seestraw on Friday May 28, 2021 @05:08AM (#27313226)
I agree. I don't think Leetcode is a good reflection of programming interviews. In programming interviews, you're supposed to have a sound thought process, write clean code, and don't need to pass hundreds of test cases. Leetcode is just a programming environment that, imo, is not the same as a programming interview.

I'd rather learn interview algorithms from books. And by getting feedback from trusted peers.