3 ms·
When starting with Leetcode you face two questions: 1. Which ones should I do to be prepared? 2. For a given problem how do I find the knowledge that should h
by daralthus 5y ago
When starting with Leetcode you face two questions:
1. Which ones should I do to be prepared?
2. For a given problem how do I find the knowledge that should have helped me recognise and solve it?
Imho, the Competitive Programmer’s Handbook [1] does answer these, every trick and pattern is explained in the most succinct way, in the order you would want to progress on leetcode to see all the basic problem formulations.
Afaik every random interview question would fit into one of these.
Let me know if you know a better one.
[1] https://cses.fi/book/book.pdf https://cses.fi/book/book.pdf