Hey everyone! I recently graduated and I'm trying to strengthen my understanding of algorithms. During my studies, I found them quite challenging, and while I function well in programming at my job, I realize that I haven't really needed to optimize my work using algorithms. I'm curious to hear how others gradually build their expertise in algorithms, rather than cramming it all at once. Also, just to clarify, I have a solid foundation in data structures, but I'm looking to improve my implementation skills for algorithms that can enhance my coding efficiency.
5 Answers
Another solid method is to consistently work on Leetcode problems, focusing on specific data structures and algorithms for a set period. It’s all about persistence and practice!
A great way to solidify your algorithm knowledge is to tackle problems on Leetcode. Try doing 1 or 2 problems daily. It can help reinforce your learning and improve your implementation skills over time!
I approach learning algorithms by researching what each one is supposed to solve, and then I find projects that match those challenges. Instead of copying from others, I think it’s vital to try implementing them yourself. It’s all about trial and error!
I recommend checking out Advent of Code. It’s a fun coding challenge in December where you solve daily puzzles related to algorithms. It starts simple, but it gets more complex as you go, and it's a great way to practice in an engaging context.
It's surprising you feel lost considering your computer science background! I read books on algorithms and tackled projects like implementing different data structures in high school before diving deeper in college. Try revisiting those concepts on your own; sometimes self-study can bridge the gaps left by coursework.
I hear you! I'm finishing my CS degree and faced similar issues with confusing professors. I think side projects are essential to apply what you learn practically.
Agree! Side projects can really help solidify concepts. I implemented A* pathfinding for a game I created, which was super rewarding.

I started with Leetcode earlier in my career too, but I didn't stick with it. I realize now that if I made it a daily habit, I'd see a lot more progress. It's a solid way to keep your skills sharp!