Algorithmic thinking
Every algorithm here plays one step at a time. Watch what it looks at, what it changes and what it settles, and go back over any step until it makes sense.
Bubble sort, putting these 12 numbers in order.
Reading a drawing
Every drawing marks what is happening with the same six shapes and colours.
Looking at
What it is weighing up in this step.
Changing
What it moves or rewrites in this step.
Settled
In its final place, and it never changes again.
Special
What the others are measured against: a pivot, a start, a source.
Ruled out
No longer in the running.
Waiting
Not looked at yet.
The families
Eight families, each a kind of problem. Open one to see its algorithms.
- orderingPutting a row of numbers in order, smallest first.11 of 11 ready
- findingFinding one number in a row without looking at every one.5 of 5 ready
- storingKeeping things so they are quick to add, find and take out again.15 of 15 ready
- networksPlaces joined by roads: the shortest way, the cheapest links, what has to come first.10 of 10 ready
- planning aheadMaking the best choice when every choice changes what comes next.10 of 10 ready
- wordsFinding a short piece of text inside a long one.5 of 5 ready
- puzzlesClassic puzzles, solved by trying, ruling out and moving one piece at a time.4 of 4 ready
- learningLearning from examples to sort new points into classes, or to predict a number.7 of 7 ready
- Every algorithmSixty-seven algorithms in eight families. Pick one to watch it work, one step at a time.