Push Swap

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

About

Year2018
Context42 Paris School

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

Push Swap | Jean-Baptiste Terrazzoni