Implementation of an algorithm for sorting numbers within a fixed set of rules. Enhancing the "Turk Algorithm".
-
Updated
May 21, 2025 - C
Implementation of an algorithm for sorting numbers within a fixed set of rules. Enhancing the "Turk Algorithm".
push_swap: "turk algorithm" An algorithmic C project focused on sorting data with a limited set of instructions. The goal is to sort a stack of integers using only two stacks ('A' and 'B') and a specific set of rotation, swap, and push operations, aiming for the lowest possible number of moves.
My push_swap project for the 42 Cursus. An integer sorting program, using a limited set of instructions. 84/100
42 Core Curriculum --- Stack sorting algorithm using limited operations in C. The used algorithm, "Turksort", can be found in the linked video.
This project challenges you to efficiently sort data on a stack using a limited set of instructions and minimizing the number of moves. Explore and implement various sorting algorithms to find the best solutions for optimized data sorting.
push_swap will sort random integers on a stack, with a limited set of instructions, trying to use the least stack operations to get a sorted stack.
📶 Push-swap 2 stacks sorting
42_push_swap; a game to introduce algorithm design
Add a description, image, and links to the stack-sorting topic page so that developers can more easily learn about it.
To associate your repository with the stack-sorting topic, visit your repo's landing page and select "manage topics."