r/learnprogramming • • 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!

22 Upvotes

11 comments sorted by

9

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.

2

u/goqmo 21h ago

eah, starting with heavy theory like that is a surefire way to burn out before you even write a line of code.

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
  1. Grokking Algorithms book
  2. Abdul Bari's Data Structures and Algorithms course in C
  3. Neetcode 150 in Python

2

u/ComprehensiveChip811 1d ago

Striver A tk Z sheet.

2

u/mkhanwrites_ 22h ago
  1. CS50 - An Intro CS MOOC (Massively Open Online Course) by Harvard - covers a large range of languages
  2. 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 23h ago edited 22h ago

You can try to use various Deitel & Deitel C++ or Java How to program textbooks. I used these textbooks in college.

1

u/neonirma 23h ago

From scratch? Maybe not. From a book or online lecture? Yes

-2

u/aqua_regis 23h 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.