/push_swap

42Cursus-push_swap/42Lisboa

Primary LanguageC

push_swap

Intro

Stars Size Activity

Cloning

git clone --recursive git@github.com:mlanca-c/push_swap.git
cd push_swap
make all

Compiling

ARG="<random numbers>";./push_swap $ARG | ./checker [-v] $ARG [> visualizer]
ARG="<random numbers>";./push_swap $ARG | wc -l

Intro

subject

This project will make you sort data on a stack, with a limited set of instructions, using the lowest possible number of actions. To succeed you'll have to manipulate various types of algorithms and choose the one (of many) most appropriate solution for an optimized data sorting.

The push_swap project is a very simple and highly effective algorithm project: data will need to be sorted.

Useful links