Back to Moja
Moja Lab Play with the algorithms · HopeBridge Academy

Sorting Visualizer

Watch how different algorithms sort the same list. The bar colour tells you what the algorithm is doing right now.

Comparisons 0 Swaps 0 Time 0 ms Status idle
Size 48
Speed 40

Bubble Sort — compares neighbours and swaps them. O(n²) worst case. Easy to understand but slow.

Pathfinding

Draw walls with your mouse. Click "Find path" — watch how A*, Dijkstra, or BFS explores the grid differently.

Visited 0 Path length 0 Time 0 ms

Tip: start is the teal cell, end is the gold cell. You can drag the start/end too.

Big-O Race

Real measured runtimes at different input sizes. This is why O(n log n) beats O(n²) as the list grows.

Input size n =

Click "Race" to measure real times. Larger n = longer bars. Watch how the O(n²) bars explode.

Number Theory Playground

Sieve of Eratosthenes, GCD (Euclid's algorithm), and Fibonacci with live visualisation.

CAPS Topic Graph

Prerequisites between Math and other subjects. Hover a node to highlight its dependency chain. Click a node to see what unlocks after it.

Hover or click a topic to see the dependency chain.

Quiz Arena

Timed CAPS-aligned questions. Your best score is saved on this device.

Score 0 / 0  ·  Best 0%