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

> Coding is a mechanical skill you can assess in 5 minutes at the whiteboard during your interview while you look for the important skills.

If this was true, we wouldn't have leetcode style interviews.

> I don’t really understand what a “leet code” interview is?

To me it's the puzzle style questions; or questions you have no way of answering without knowing or being exposed to a certain trick.



It's ironic, given that algorithmic whiteboarding questions were developed as a reaction to '90s Microsoft "how do you move Mount Fuji" brain teasers. I would not call Leetcode questions puzzles in the same sense, yet many questions do require some foreknowledge of having seen the question to get to the optimal solution.

There could be an article or analysis written on that subject. What is the pedagogical gap between common CS education (both academic and not) and being able to intuitively leetcode? Students are learning the data structures and algorithms, but perhaps not in a way to approach problems in the same way that leetcode style platforms force them to really utilize that knowledge. Maybe there are problem-solving approaches not being covered?

A survey of the most commonly asked leetcode problems in industry would be illustrative as well. Some questions rely on advance knowledge that aren't really found in academic computer science. What CS course teaches two pointer - isn't that a competitive programming technique?


> I would not call Leetcode questions puzzles in the same sense, yet many questions do require some foreknowledge of having seen the question to get to the optimal solution.

Agreed. So far what I've observed is that once you understand dynamic programming, memoization and tree traversal you're set to solve a lot of the leetcode style questions. However every once in a while you encounter a question such as "add two binary numbers without using mathematical operators" which essentially expects you to xor two binary numbers and then determine the cary using a shift operator. I'd argue that this is similar to the Mount Fuji question.


Hm. Okay … I consider things like “dynamic programming, memoization, and [graph] traversal” to be basic skills of a systems programmer. I didn’t realize people didn’t look for those skills to weed out the flerbs.




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

Search: