Oh no! We're having trouble displaying this Scratch project.
If you are on a mobile phone or tablet, try visiting this project on a computer.
If you're on a computer, your Flash player might be disabled, missing, or out of date. Visit this page to update Flash.
Notes and Credits
Compares two sorting algorithms. Set n to the number of items to sort. Click on deck to create a random list. Click on brown hat to sort via selection sort (O(n^2)). Click on white hat to sort via binary search sort (O(n log n)).