Skip to content

A 42 Project to sort stack using limited amount of moves

Notifications You must be signed in to change notification settings

flutterde/42push_swap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A 42 Project to sort stack using limited amount of moves

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published