Compare
Same input, one clock. Pick any two algorithms that take the same kind of input.
avg O(n²)code →
6
10
97
71
54
43
49
27
57
74
29
19
77
54
23
39
32
55
33
97
28
88
23
18
Start with 24 unsorted values
step 1 / 462comparisons 0swaps 0
avg O(n log n)code →
6
10
97
71
54
43
49
27
57
74
29
19
77
54
23
39
32
55
33
97
28
88
23
18
Start with 24 unsorted values
step 1 / 224comparisons 0swaps 0
1 / 462
Size24
Distribution
Custom values2 to 150 whole numbers, each 1 to 999
seed 7