Mystery Sorting Algorithms
The numbers 1 to 4 below represent four unnamed sorting algorithms,
each of which can be run on three different sets of data.
Click on a histogram to begin a sort.
Figure out what sorting algorithm each number corresponds to.
Random data
#1 #2 #3 #4
An initially presorted array
#1 #2 #3 #4
An initially reverse-sorted array
#1 #2 #3 #4