Sort random numbers from lowest to highest in the smallest number of moves.
-
Updated
Feb 27, 2023 - C
Sort random numbers from lowest to highest in the smallest number of moves.
Sorting algorithm using two stacks
"The Push_swap project is a very simple and highly effective algorithm project: data will need to be sorted"
The seventh project of 42's curriculum asks students to find an optimized way to sort data with two stacks and a limited set of instructions.
🔀 This project will make you sort data on a stack, with a limited set of instructions, using the lowest possible number of actions. To succeed you’ll have to manipulate various types of algorithms and choose the most appropriate solution (out of many) for an optimized data sorting.
42 Project about sorting data with two stacks efficiently
Because _`swap_push`_ isn’t as natural
Push_swap is a sorting algorithm project where the goal is to sort a stack of integers with the fewest operations, using a limited set of commands
this project is pain incarnate, by the end of it you'll have a newfound passion for literature, cause you won't ever want to count again
A program that sorts a stack of integers in the least steps possible, based on a limited set of instructions
A program that sorts a stack of integers in the least steps possible, based on a limited set of instructions
Pushswap is a 42 project emphasizing efficient sorting by minimizing operations. Participants use a limited set of commands to manipulate stacks and achieve the desired sorted order, showcasing algorithm design and optimization skills while developing problem-solving abilities.
The aim of this project is to create a sorting algothim, with a limited set of instructions, using the lowest possible number of actions.
A sorting algorithm that sorts stacks by ascending order
Step by Step Prochecker for Push_Swap 42 proyect
Project made for 42madrid
Add a description, image, and links to the 42pushswap topic page so that developers can more easily learn about it.
To associate your repository with the 42pushswap topic, visit your repo's landing page and select "manage topics."