powersort's pursuit · a merge game
Merge the runs.
Merge the runs.
Pay as little as you can.
The input is already cut into sorted runs. Merge two neighbours by dragging one onto the other; the result is a new block, and every merge costs the length of the block it creates. Keep merging until a single block is left — the total you paid is your score. Lower is better. nH is a floor no merge tree can beat, and n(H+2) is what a good merge policy guarantees; where do you land?
level 1
first steps
merge cost so far
0
Who is playing?
drag a framed block onto a highlighted neighbour · or click a block, then click a neighbour · ←→ select shift+←→ merge that way u undo y redo r start over
—