Skip to content

lapenji/push_swap

Repository files navigation

push_swap

push_swap is a sorting algorithm project assigned by 42 coding school. The project requires the implementation of two programs in the C programming language that can sort an array of integers in ascending order using two stacks and a specific set of rules. The push_swap program generates a list of operations to sort an unsorted list of integers, while the checker program verifies if the list of operations correctly sorts the list. The project focuses on optimizing the number of operations required to sort the list and minimizing the movement of integers between the two stacks. It tests the students' knowledge of sorting algorithms, stack manipulation, and algorithm optimization.

About

push_swap 42

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published