Skip to content

ldusty/push_swap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

push_swap

Final Score 125/100

Sorting stack a, using stack b. The algorithm (youtube) and linked list. Details in subject. All files must pass the norminette check.

Usage

make - to compile mandatory part
make bonus - to compile bonus part
make clean - to remove objects
make fclean - to remove objects and binary files
make re - to re-compile

Visualize push_swap

To see push_swap work in action, first run make and then the following script:
python3 pyviz.py `ruby -e "puts (1..n).to_a.shuffle.join(' ')", where n = number of elements

About

Sorting stack a, using stack b

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published