Let's see how different algorithms perform!

Run the same values through multiple algorithms and compare how they get there.

Algorithms

0 selected

Current Reference Working range Sorted
Start with a contrast

Same values. Two different routes.

Try Bubble and Quick together. One repeatedly swaps neighbors; the other partitions around a pivot.

  • BubbleWatch pairs move and the largest value settle at the right.
  • QuickWatch the pivot and the active partition.
  • CompareSee how many comparisons and array writes each route needs.

Run settings

60 ms
FastSlow

Comparisons count value checks. Array writes count changes to the displayed array. Elapsed time includes animation delay.