I'm starting from scratch and looking for beginner-friendly books, courses, or websites. What would you start with, and how would you practice without getting overwhelmed?
Where should I start learning data structures and algorithms?
Answers
Grokking Algorithms is a good place to start if you want a gentler introduction before tackling a university-level course. Pick one resource and work through it rather than collecting a dozen playlists.
As you go, write small implementations and try problems related to the topic you just studied. You don't need to finish every available course before you start coding.
Reply to this answer
If you want a structured course, MIT OpenCourseWare has Introduction to Algorithms with free lecture videos, notes, and problem sets with solutions. It covers data structures and algorithm design at a university level.
That depth is useful, but it can be a heavy first stop. A more approachable introduction followed by the MIT material could make for a less frustrating route.
Reply to this answer
Already comfortable with Java? Algorithms, 4th Edition is another option, with a textbook, book site, lectures, and an online course. If you're still learning to program, a broader introduction like CS50 may be a better first step before focusing on algorithms.
Reply to this answer
For practice, take a look at NeetCode 150 or Striver's A to Z sheet. Use one as a source of problems alongside a course or book, rather than feeling like you have to race through the whole collection.
Reply to this answer
If you prefer a course taught in C, Abdul Bari's Data Structures and Algorithms course is worth considering. For more general language instruction, the C++ or Java How to Program textbooks are other options.
Reply to this answer
Add your answer
Answers are reviewed before publication.
6h!brackenlantern_539:
NeetCode 150 in Python is one option if Python is the language you want to practice with.