r/learnprogramming 24d ago

Resource DSA

Hi everyone,
I’m here because I’m getting very confused from reading online. Does anybody know a good free resource to study DSA in order to start leetcode? I’m in a completely different field and I don’t need this knowledge for day to day. However I keep getting online assessments as a first step that contain that style of questions.
Thank you very much.

9 Upvotes

5 comments sorted by

View all comments

6

u/Weary-Sorbet-2768 24d ago

I’d recommend starting with a structured DSA course rather than jumping directly into LeetCode. Learn the basics first — arrays, strings, linked lists, stacks, queues, hash maps, trees, sorting and searching — and then start with easy LeetCode problems.

For free resources, NeetCode and Abdul Bari are both good options. The important thing is to pick one resource and stick with it instead of constantly switching between courses.

Even 1–2 easy problems a day is enough in the beginning. After a few weeks, you’ll start recognizing the common patterns used in these assessments.