COMP103: Sorting Demos, 2012

Click on each of the following lists to start each Sort algorithm.

  • You can have multiple algorithms going at once, so you can 'race'
  • Click on the name of the algorithm for the sorting code
  • See how bad BubbleSort is and how FAST Quicksort is.

N Squared Algorithms
BubbleSort
SelectionSort
InsertionSort
 
N log N Algorithms
MergeSort
HeapSort
QuickSort
 

These are from a larger set of sorting applets from UBC, Canada.