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.
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
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