4 ms·
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 co
by hocuspocus 5y ago
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.
- seestraw 5y agoI 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.