DSA Learning Studio

Data Structures & Algorithms — drawn on the whiteboard

Illustrated, interactive textbook chapters: hand-drawn diagrams built from real data, working labs you can step through, Python implementations, cited sources, and 196 practice problems with progress tracking and notes.

Chapters

Every chapter is aData StructureData StructureA way of organising data in memory so that certain operations, like lookup, insert or remove, are fast.e.g. Arrays, hash tables, stacks, treesAlgorithmAlgorithmA precise, step-by-step procedure that solves a specific problem, with provable correctness and cost.e.g. Binary search, merge sort, DijkstraConceptConceptA foundational idea you use to reason about every data structure and algorithm.e.g. Time & space complexity, recursionTechniqueTechniqueA reusable problem-solving pattern you apply on top of data structures to turn slow solutions into fast ones.e.g. Two pointers, sliding window, prefix sumshover or tap a tag to see what it means
01ConceptConceptA foundational idea you use to reason about every data structure and algorithm.e.g. Time & space complexity, recursion

Time & Space Complexity

counting what really grows

Big-O, Ω and Θ from their definitions; loops, recursion and the Master Theorem; amortized cost; the real cost of Python built-ins.

Beginner → Intermediate~85 min7 interactive labs38 practice problems
02Data StructureData StructureA way of organising data in memory so that certain operations, like lookup, insert or remove, are fast.e.g. Arrays, hash tables, stacks, trees

Arrays & Hashing

jump straight to the answer

Contiguous memory, dynamic arrays, hash functions, collisions and load factor, Python’s list, dict and set, and the core hashing patterns.

Beginner → Intermediate~80 min4 interactive labs48 practice problems
03TechniqueTechniqueA reusable problem-solving pattern you apply on top of data structures to turn slow solutions into fast ones.e.g. Two pointers, sliding window, prefix sums

Prefix Sum

add once, answer forever

Cumulative sums, O(1) range queries, the hash-map counting trick, 2D summed-area tables and difference arrays.

Beginner → Intermediate~75 min5 interactive labs11 practice problems
04TechniqueTechniqueA reusable problem-solving pattern you apply on top of data structures to turn slow solutions into fast ones.e.g. Two pointers, sliding window, prefix sums

Two Pointers

two fingers, one pass

Converging, reader/writer, two-sequence and partition pointers, 3Sum, Dutch flag and Floyd’s tortoise and hare — quadratic searches turned into linear scans.

Beginner → Intermediate~75 min8 interactive labs9 practice problems
05TechniqueTechniqueA reusable problem-solving pattern you apply on top of data structures to turn slow solutions into fast ones.e.g. Two pointers, sliding window, prefix sums

Sliding Window

slide, don’t recompute

Fixed and variable windows, the two-pointer invariant, monotonic deques and counting tricks — and where the idea runs inside TCP, rate limiters and stream processors.

Beginner → Intermediate~90 min5 interactive labs29 practice problems
06AlgorithmAlgorithmA precise, step-by-step procedure that solves a specific problem, with provable correctness and cost.e.g. Binary search, merge sort, Dijkstra

Binary Search

halve it until it’s found

Loop invariants, lower and upper bounds, off-by-one traps, the overflow bug, and binary search on the answer.

Beginner → Intermediate~85 min6 interactive labs38 practice problems
07Data StructureData StructureA way of organising data in memory so that certain operations, like lookup, insert or remove, are fast.e.g. Arrays, hash tables, stacks, trees

Stacks

last in, first out

The LIFO ADT, array and linked-list stacks, amortised resizing, the call stack, bracket matching, shunting-yard and monotonic stacks.

Beginner → Intermediate~80 min6 interactive labs23 practice problems
More chapters comingEach new topic is a folder in content/chapters/.