Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sorry if I misunderstood. I don't think most CS curriculums teach you analyzing programs and writing them efficiently. My data structures and algorithms classes were great but still not enough practical knowledge to implement programs day to day. On top of that, there was practically no code review. I don't think there's enough time for professors and TAs to analyze your code and tell you if this is a good way of doing things or is it clean or will it waste a lot of memory.


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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: