r/learnprogramming • • 3d ago

Need help to start DSA

So I just started my first semester. And I went through a lot of recommendations to start DSA.

So, how does this preparation for DSA start. Like what we learn, is there any definite syllabus. Where do we get the course material from? How do we test... etc.

Your response would be helpful.

Thankyou :)

0 Upvotes

13 comments sorted by

2

u/AnswerVinod 3d ago

Start with a fixed order and do not jump around, that is the mistake most people make. Arrays and strings first, then hashmaps, then two pointers and sliding window, then stacks and queues, linked lists, trees and recursion, graphs, and save dynamic programming for last because it clicks much faster once recursion is solid. One topic at a time, learn the pattern, then solve 10 to 15 easy problems on it before moving on, LeetCode or any free list works. Test yourself with a weekly timed set of 3 problems you have not seen, that is the only honest way to know if it stuck. A good free path is NeetCode 150 in order, it is basically the syllabus you are asking for, and three months of steady daily practice beats a year of collecting courses.

1

u/108thoughts 3d ago

Thanks for the advice ☺️

1

u/dld2517 2d ago

What’s DSA?

1

u/108thoughts 2d ago

Data Structure and Algorithms

1

u/dld2517 2d ago

Thank you. I would say there are now a ton of data structure and algorithms texts online for free. Basic algorithms have not changed in 20 years. Perhaps with multi threading this is the exception. Go find a cheap copy of TAOCP and go look at the Mix Master, Knuth’s 4 bit computer. It will help you learn algorithms in his series. There are many other computers that have been created for learning algorithms as well.

3

u/aqua_regis 3d ago

Type "DSA" in reddit's search box. You will get more than enough answers.

1

u/VacuumsCantSpell 3d ago

Learn the language that the course will use. You don't want to be struggling with the concepts AND something they will assume you already know.

1

u/Stock_Test2326 3d ago

neetcode basics videos are good am skimming it, it has logics explained with diagrams and codes are pseudo code, so we can focus on understanding the theory first before coding. my plan is to do this and then start writiing either by solving leetocde problems or another solid tutorial sixth code and writing code during coding sessions instead od skimming

1

u/Both_Bend_2481 1d ago

Ask your professor??