3 ms·
I don't think the issue is DS&A or even leetcode problems in general. I think the problem is being expected to regurgitate* 1-2 hyperoptimal leetcode solutions
by decafninja 6y ago
I don't think the issue is DS&A or even leetcode problems in general.
I think the problem is being expected to regurgitate* 1-2 hyperoptimal leetcode solutions in 45 minutes while suffering from heavy interview pressure.
*by regurgitate, you can't simply implement the optimal solution either even if you know it. You have to put on a show where it seems like you're arriving at and iterating towards the optimal solution, "explaining your thought processes". But you can't waste time iterating and going down suboptimal paths either because you only have 45 minutes or less. Hence why ideally you know the exact optimal solution beforehand, or at least know the tricks and patterns to quickly get to the optimal solution for the type of problem you are tackling.
Recruiters and official interview guides say that your "thought processes" matter a lot, but reports from in the field tend to imply that the #1 most important factor is that you get the optimal solution. If you can't, your "thought processes" are worth little, barring exceptional circumstances.
- richthegeek 6y agoIt is rather ridiculous. "These two guys spent 6 months thinking about this problem to come up with this algorithm. Now pretend like you can independently come up with an identical algorithm in 45 minutes."
- ahel 6y ago> Recruiters and official interview guides say that your "thought processes" matter a lot, but reports from in the field tend to imply that the #1 most important factor is that you get the optimal solution. If you can't, your "thought processes" are worth little, barring exceptional circumstances Agree. Also "there is no hard requirement in completing both part of the exercise" is another lie.
- redisman 6y agoHere's an algorithm some elite CS PhD took a year to research and solve. You haven't seen it before? Too bad, better come up with the solution on the spot. If you can't I'll have to write another blog post about how no one I interview can program anymore?!?