Data Structures & Algorithms
Learn Data Structures & Algorithms from first principles.
Start with why each structure exists and what it costs, then watch the code run line by line. The courses build on each other, so take them in order, from Arrays to Dynamic Programming.
- courses
- 14
- lessons
- 79
- problems
- 243
Curriculum
14 courses in 3 steps. Click a course to see what’s inside.
1BeginnerThe basics
2IntermediateCore techniques
3AdvancedPutting it together
01 · Beginner
Arrays
Start with the most fundamental data structure — why it exists and how to use it — then solve the 16 array questions interviews ask most.
4 chapters · 12 lessons · 16 problems
1.Introduction to arrays4 lessons
2.Using arrays in code4 lessons
3.Solving problems with arrays4 lessons
4.Most asked interview questions16 lessons
- Two SumEasy
- Move ZeroesEasy
- Best Time to Buy and Sell StockEasy
- Majority ElementEasy
- Sort 0s, 1s and 2sMedium
- Maximum Subarray SumMedium
- Rotate ArrayMedium
- Product of Array Except SelfMedium
- Find All Duplicates in an ArrayMedium
- Find Peak ElementMedium
- Container With Most WaterMedium
- 3SumMedium
- Subarray Sum Equals KMedium
- Increasing Triplet SubsequenceMedium
- Kth Largest Element in an ArrayMedium
- Merge IntervalsMedium
