Case study · 2024
push_swap: sorting with two stacks
My solution picks, at each step, the number that is cheapest to move into its place in the other stack.
Scope & impact
Type numbers or pick a random set, then play or step through every move.