Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 701 Bytes

README.md

File metadata and controls

3 lines (2 loc) · 701 Bytes

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.