Data Structures & Algorithms
Learn data structures and algorithms in Python, from Big-O to graphs and dynamic programming, and run every example in your browser.
34 free lessons
Intermediate to Advanced
Covers Examples in Python 3.14
Start the first lesson Continue where you left off
Getting Started
Linear Data Structures
Recursion
Sorting & Searching
- 11Bubble, Selection & Insertion Sort
- 12Merge Sort
- 13Quick Sort
- 14Counting Sort & Timsort
- 15Binary Search & Its Variants
- 16Two Pointers & Sliding Window
Trees
Graphs
- 22Graphs & Representations
- 23Breadth-First Search (BFS)
- 24Depth-First Search (DFS)
- 25Topological Sort
- 26Shortest Paths: Dijkstra & Bellman-Ford
- 27Minimum Spanning Trees & Union-Find
Advanced Algorithms
- 28Dynamic Programming
- 29Classic DP Problems
- 30Greedy Algorithms
- 31Bit Manipulation
- 32Fenwick & Segment Trees
Interview & Project
Learn DSA with a mentor
Free lessons get you started. Our Java, C & C++ Programming training adds real projects and code reviews from working developers.
- Project-based learning
- Mentor code reviews
- Free counselling call
