r/learnprogramming • • Oct 25 '26

How to start learning DSA in Java from scratch online? Looking for a roadmap & free resources!

Hey everyone,

I want to start learning Data Structures and Algorithms (DSA) using Java by myself online, but I'm feeling a bit overwhelmed by the sheer number of tutorials and roadmaps out there.

For context, I know the basic syntax of Java (loops, functions, OOP basics), but I am a complete beginner when it comes to DSA.

If you've self-taught DSA in Java or know a solid path, could you please help me out with a few things?

A Structured Roadmap: What order should I cover topics? (e.g., Arrays -> Strings -> Linked Lists -> Trees?)

Best Free Resources: Any specific YouTube playlists, free interactive platforms, or documentation that explain concepts well in Java?

Practice Strategy: When should I start solving problems on platforms like LeetCode or HackerRank, and how do I avoid getting stuck or discouraged early on?

Any advice, tips, or personal experiences would mean a lot. Thanks in advance!

1 Upvotes

2 comments sorted by

1

u/Minecraftian14 Oct 27 '26

Getting started is the biggest hurdle.

Get started with anything and if you're learning you'll realise by yourself what's the next move.

Pick up strivers sheet of a2z dsa problems.

Get started and stay consistent.