Where can I practice data structures and algorithms besides LeetCode/HackerRank etc. #173385
Replies: 6 comments
|
If youβre tired of just grinding LeetCode/HackerRank, there are a bunch of other good spots:
Also, honestly, building little side projects helps too. Like making your own LRU cache, a Trie-based autocomplete, or even a pathfinding visualizer β that forces you to really understand the data structures. So yeah, mix in contests (Codeforces/AtCoder), practice sheets (GFG/InterviewBit), and small projects. That way youβre not just solving random problems but actually using the concepts. |
|
If you are using python, please check leetcode-py |
|
There are a bunch of great alternatives you can try: Codeforces β great for competitive programming If you want a more structured path, InterviewBit or NeetCode.io is also worth checking out. |
At the end of the day, the best platform depends on whether you want to prepare for interviews, compete, or just strengthen your fundamentals. |
|
Iβd recommend mixing different types of DSA practice rather than relying on just one platform. For structured learning, GeeksforGeeks and NeetCode are useful for topic-wise practice. For competitive programming, Codeforces, CodeChef, and AtCoder are great for improving problem-solving speed and logic. Since you're also interested in practical programming, another good approach is to implement the data structures yourselfβfor example, a Trie-based autocomplete, LRU Cache, graph traversal visualizer, or a simple scheduling system. Iβve found that combining problem-solving with small projects helps reinforce concepts much better than solving problems alone. |
|
Hey @DavidAslanyan2003, the community has already listed the best competitive platforms (Codeforces, AtCoder) and interview prep sites (NeetCode, GFG). To give you a completely different, unique perspectiveβif you are tired of solving isolated puzzles and want to practice DSA the way real software engineers do, try these three approaches: 1. The "Build Your Own X" Approach (CodeCrafters)Instead of solving a problem named "LRU Cache", try building a mini Redis clone from scratch. Instead of solving a string matching problem, try building your own Git client or a basic Search Engine. Platforms like CodeCrafters guide you through building these real-world tools, which forces you to use Trees, Hash Maps, and Graphs in actual production-like environments. 2. Game Development & VisualizationsIf graph algorithms (Dijkstra, A*, BFS/DFS) feel boring or abstract, build a simple Pathfinding Visualizer or a 2D maze/grid game. When you actually see your algorithm searching for the shortest path visually on a screen, the concepts stick in your brain permanently. 3. Open-Source Performance TuningGo to GitHub and search for issues labeled Grinding platforms teaches you how an algorithm works, but building tools and optimizing real codebases teaches you why they matter. Good luck! |
Uh oh!
There was an error while loading. Please reload this page.
I wonder where can I practice data structures and algorithms besides LeetCode/HackerRank etc.
All reactions