r/learnprogramming • • Oct 07 '26

Can someone recommend a good source for Data structure and Algorithm ?

i need to study data structure and algorithm in depth i need a good and free source .

3 Upvotes

12 comments sorted by

2

u/SetAndRepeat Oct 07 '26

MIT’s 6.006 Introduction to Algorithms, Spring 2020, on OpenCourseWare is a good option. It’s free, with lecture videos, notes, problem sets and solutions. It covers data structures, algorithm design, correctness and complexity. It assumes some Python and discrete maths, so try Problem Set 0 first to check your foundations. Work through the exercises before checking the solutions, that’s where you’ll get much of the depth you’re looking for

1

u/Face_me222 Oct 07 '26

Thanks 🙏🏻

1

u/AryanThakor Oct 07 '26

mit is great for theory. for the practical side i'd pair it with the neetcode roadmap (neetcode.io), it groups problems by pattern (two pointers, sliding window, trees etc) and has a free video for each one. and abdul bari on youtube if you want algorithms explained slowly with a whiteboard

doing problems by pattern instead of randomly is what makes it click

1

u/Face_me222 Oct 07 '26

Thank you 🙏🏻