Data Structures & Algorithms#

A complete, self-contained course. Every structure is explained from first principles, animated step by step, and implemented twice — once in Python and once in JavaScript — so you can read whichever language you think in. Press Play on any animation and step through it; the pictures do most of the teaching.

38 Topics • Theory, Questions & Interactive Implementations
Unit 1

Foundations#

How to measure an algorithm, and how memory shapes the real cost of every structure.

Unit 2

Linear Structures & Hashing#

Sequences and the techniques that make them fast: arrays, strings, two pointers, windows, prefix sums, hashing, lists, stacks and queues.

Unit 3

Recursion, Sorting & Searching#

The three fundamental algorithmic moves: recurse, sort and binary-search.

Unit 4

Trees & Hierarchies#

Hierarchical structures: binary and balanced trees, heaps, tries and disjoint sets.

Unit 5

Graphs#

Modelling relationships as graphs, and the classic traversal, ordering, shortest-path and spanning-tree algorithms.

Unit 6

Paradigms & Advanced Topics#

Greedy, divide and conquer, backtracking and DP, specialised techniques, and the revision material.