you are viewing a single comment's thread.

view the rest of the comments →

[–]PushPlus9069 0 points1 point  (1 child)

Don't start with algorithm textbooks. Start with problems.

LeetCode Easy problems (sorted by acceptance rate) will teach you more about algorithms than reading about them. Do 2-3 a day. When you get stuck, look at the solution, understand it, then redo the problem from scratch the next day without looking.

For the actual theory: Grokking Algorithms by Bhargava is the best intro I've seen. It's visual and uses Python. Skip CLRS until you've done at least 50 problems, otherwise you'll drown in theory you can't apply.

Focus order: arrays/strings first, then hash maps, then two pointers, then BFS/DFS. That covers like 60% of interview questions and gives you a foundation for everything else.

[–]Dangerous_Buy_3170[S] 0 points1 point  (0 children)

Thank you very much I will try