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.
-
Notifications
You must be signed in to change notification settings - Fork 0
lapenji/push_swap
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
push_swap 42
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published