Simulations
Interactive labs you can open and explore right in your browser - change the inputs, step through each idea and watch what happens.
Binary Heap
Insert values and remove the top — as a max-heap or a min-heap.
Dijkstra’s Shortest Path
Find the fastest route — the priority queue always hands over the nearest unfinished place.
Emergency Room Triage
A priority queue built on a heap: the most urgent patient is always seen next.
Heap Sort
The list that is secretly a tree — watch both views move together.
Agents and Environments
Three robot vacuums, one room: see what memory and goals add.
BFS vs DFS vs A*
Race search strategies through one maze and compare their work and paths.
PizzAI Express
One pizza delivery, five AI ideas, two decisions for you.
The Attention Round Table
How ChatGPT-style models work out what “it” means — one dinner party at a time.
LL(1) Predictive Parsing
Watch a table-driven parser match tokens, expand rules on its stack and build the parse tree top-down.
The Mountain Hiker
Step downhill on the loss curve until the slope goes flat.
The Balancing Robot
Keep a two-wheeled robot upright by tuning its P, I and D — then push it.
CPU Scheduling
Race four schedulers on the same jobs and compare waiting times.
Projectile Trials Lab
Launch, compare trials and find the angle that flies furthest.
C Variables in Memory
Run a C program line by line and watch its bytes.
Bending Stress Challenge
Predict which corners of a loaded beam are squeezed and which are stretched — then see the stress.
NFA to DFA Conversion
Build a DFA from an NFA, one subset at a time.
Turing Machine
Watch a head read, write and move on a tape, one rule at a time, until the machine accepts or rejects.
Rankine Cycle
Raise the boiler pressure and watch a steam power plant respond.