Skip to content

JamieDawson/push_swap_final

Repository files navigation

Push Swap is an algorithms project I completed at 42 Silicon Valley.

The idea of the project is that you have two stacks which are called Stack A and Stack B. Stack A can contain 1000+ random numbers. You have to sort Stack A from smallest to largest using only a handful of allowed moves.

I used a optomized version of Insertion Sort in order to get the stack sorted.

If you're interested in seeing my logic step by step, then you can click here to see my Medium article that goes into every detail on how this project works.

About

Used an optimized version of the ​insertion sort algorithm​ to create a program that can sort 1000+ random numbers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published