Skip to content

02 / Experiments

Push Swap

Sorts data on a stack, with a limited set of instructions and limited number of moves. In C.

About

Sort a stack with the fewest moves possible. Only swaps, rotates, and pushes allowed, find the most efficient sequence to get everything in order.

Components