push_swap
Stack
- C
- Makefile
An algorithm that sorts a stack of integers using only a second stack and a fixed set of operations (swap, push, rotate). The challenge is to minimize the number of moves. Includes cost-based decisions and a checker program to validate any solution.