The best way is to program them. I know, but I don’t want to go that route.
When I learnt physics, I looked for something like “solved problems in physics”, did each of those problems in exercises(by myself, not by looking at solutions) and solved ones. And voila, I was a master of physics for my class.
I’m looking for similar kind of approach for algorithms.
Here’s my requirements:
First there should be some “dry run” kind of problems. Problems which require me to traverse the algorithm step by step to solve them. For example: Find the shortest path using djikstra algorithm.
Second type of problems should be something that apply the corner cases, edge cases and multiple ways to approach the problem using that algorithms.
Third layer of problems should be problems that require me to use that algorithm in code. Leetcode problems are good variant of this. Cracking the coding interview type of books. Do recommend some udemy courses if you’ve them in mind. I heard good things about CP bible in udemy.
That’s all I want. I need problems, structured and limited in #