(https://github.com/42Paris/minilibx-linux/actions/workflows/ci.yml/badge.svg)

Push_Swap

A program that sorts input numbers using a data structure consisting of two A and B stacks and provided instructions.
The numbers are inserted in stack A and, after sorting using stack B as auxiliary, they must be stored in A.

Functions

read
malloc
free

General Info

Linked List
Radix Sort
int max & int min

Compilation

make to compile
make clean to remove objects
make fclean to remove objects and binary files

Implemetation

to change the number of inputs just replace 100 with another value

MYVAR=$(seq 100 | shuf)
./push_swap $MYVAR
echo $MYVAR