Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 566 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 566 Bytes

PUSH_SWAP

a 42 project to develop a program that sorts a stack of un-order integers in ascending order using limited instructions and limited numbers of moves.

Installation & Usage

Clone the repo

git clone https://github.com/flutterde/42push_swap.git

Build the program

to build the program simply run make in your terminal (in the root folder).

Usage

to use the program pick a random number and run it like the following example:

./push_swap 3 2 "1 4 9 " 23

duplicated numbers and non-digits are not acceptable