Skip to content

jwere/pushswap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

pushswap

Wethinkcode/42 push_swap sorting algorithm

A STRICTLY TWO STACK NUMBER-SORTING ALGORITHM THIS ALGO TAKES IN NUMBERS, STORES THEM ON ONE STACK AND ONLY ONE MORE STACK IS ALLOWED EXAMPLE, CONSIDER A LIST 2,3,1; SORTING CAN BE DONE BY MOVING 2 TO THE BOTTOM OF THE STACK, AND THEN 3 TO THE BOTTOM THEREAFTER THE MOVES CAN THEN BE DISPLAYED AS RR. MEANING ROTATE TWICE ON THE SAME STACK NO OTHER SORTING ALGORITHMS WHATSOVER ARE ALLOWED IN THIS PROJECT THE ENTIRE PROJECT IS WRITTEN IN C NO LIBRARY FUNCTIONS ARE ALLOWED ALL FUNCTONS USED LIKE STRCOMP AND STRCOPY ARE ALL WRITTEN FROM SCRATCH

About

Wethinkcode/42 push_swap sorting algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors