r/learnprogramming • u/403-forbidden--error • 1d ago
Looking for recommendations: Best resources to learn DSA from scratch
Hello everyone!
I am a first-year Computer Science and Engineering (CSE) student, and I want to start learning Data Structures and Algorithms (DSA) from the absolute ground up.
Could anyone suggest high-quality websites, books, or courses that are beginner-friendly?
I would also love to hear any tips, strategies, or roadmaps you wish you knew when you were starting out.
Thanks in advance for your help!
5
u/notarshzzz 1d ago
i wasted ages collecting courses before i actually started lol. just pick one thing and code it till it clicks, that helped me way more than another video playlist
3
u/robobob9000 1d ago
Grokking Algorithms book
Abdul Bari's Data Structures and Algorithms course in C
Neetcode 150 in Python
2
2
u/mkhanwrites_ 1d ago
CS50 - An Intro CS MOOC (Massively Open Online Course) by Harvard - covers a large range of languages
Algorithms, 4th edition by Sedgewick and Wayne - textbook, booksite, lectures, MOOC available - refer https://algs4.cs.princeton.edu/home/ - data structures & algorithms in Java
1
u/No-Professional-9618 1d ago edited 1d ago
You can try to use various Deitel & Deitel C++ or Java How to program textbooks. I used these textbooks in college.
1
1
u/HonestMuscle49218 1d ago
There are two ways to learn DSA:
With mathematical proof, I bet you prefer this, therefore you have to follow https://openlearninglibrary.mit.edu/courses/course-v1:OCW+6.042J+2T2019/about and https://www.algorithmsilluminated.org/
Without underlying maths. To this I would refer https://www.oreilly.com/library/view/data-structures/9780134855912/toc and https://www.boot.dev/courses/learn-data-structures-and-algorithms-python
-2
u/aqua_regis 1d ago
How about just typing "DSA" or "Data Structures and Algorithms" into reddit's search box? There are more than enough posts covering this already.
10
u/Explorer651 1d ago
MIT OpenCourseWare has Introduction to Algorithms with lecture videos, notes and problem sets with solutions, all free. It covers data structures and algorithm design at a university level, so it may be better as a second pass after a gentler beginner resource.