-
Notifications
You must be signed in to change notification settings - Fork 0
A sorting algorithm to sort an integer array with two stacks. In addition to basic stack behavior the stack have the ability to be rotated for- and backwards. The algorithm sorts a list of 2, 3, 5, 100 and 500 in less than 1, 2, 8, 700 and 7000 moves on average.
merituulie/push_swap
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
About
A sorting algorithm to sort an integer array with two stacks. In addition to basic stack behavior the stack have the ability to be rotated for- and backwards. The algorithm sorts a list of 2, 3, 5, 100 and 500 in less than 1, 2, 8, 700 and 7000 moves on average.
Topics
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published