SortWalkPals
How does your body feel?
Where this idea comes from
Sorting networks
A sorting network is a set of lines with swap boxes between them. Each box looks at two numbers and swaps them if they are in the wrong order.
One thing to hold: Lines and boxes drawn on paper and some number cards: push the cards along the lines. At each box, swap the two cards if the bigger one is first.
Why it matters: The steps are set in advance and never change, whatever order the numbers start in. That makes them useful when many steps run at the same time. In 1968 a scientist named Batcher suggested using them in computer hardware.
What we don’t know: Finding the network with the fewest boxes is a puzzle. For 9 and 10 inputs it took until 2014. For 11 and 12 it took until 2020. For more than 12, nobody knows yet.
Dates:
- 1968 Batcher suggests sorting networks for computer hardware.
- 2014 The fewest-box networks for 9 and 10 inputs are proven.
Meet the cast — the characters who teach this
-
Chalky draws six lanes and twelve boxes that sort any order -
Swapple A rabbit in a chalk box - when two meet the wrong way round, they swap -
Lanelle A duck who keeps to her lane - you only move when a box tells you to -
Smallfoot A mouse who steps up - in a box, the smaller one always goes to the upper lane
What next? Pick a door
- More like this Robot
Pals Which steps get the robot to the flag? MotionPals Can you make Zip walk and talk? QwertyPals Can your fingers find home row? - A bit harder AIForge What rule did the machine learn? Robo
Forge Which code gets the robot home? NeuralQuest What rule did your classifier find? - Something different Crate
Pals How often does the rare one come? SciQuest What will happen, and why? ObbyPals Can Nims climb the course you built?