Intermediate 9 lessons · free
DSA tutorial Patterns for coding interviews, in Python.
Data structures & algorithms — crack the coding round. Every lesson has a runnable Python solution you can edit and test, key points, a practice task, a quiz and interview questions.
Start learning DSA
Not started
Lessons
What you'll learn
- 01Big-O & complexityMeasuring how time and memory grow with input size.
- 02Arrays & two pointersSolving array problems in one pass with two moving indexes.
- 03Hash maps & setsConstant-time lookups for counting, grouping and finding pairs.
- 04Stacks & queuesLIFO and FIFO structures and the problems they solve.
- 05Linked listsNodes and pointers: reversing, finding the middle and detecting cycles.
- 06Recursion & backtrackingFunctions that call themselves, base cases, memoisation and generating combinations.
- 07Binary searchHalving the search space on sorted data — and on answers.
- 08Sorting algorithmsBubble, merge and quick sort, stability, and using Python's sort with keys.
- 09Trees & graphs: BFS and DFSTraversing trees and graphs, shortest paths in unweighted graphs.