6/41
Part 1 of 7 · SortingLearn and do

A sort that only compares items can't beat log2(n!) comparisons in its worst case

No sort that compares items can do much better than that.

Predict

A sort that only compares: in its worst case, how many comparisons must it make on 3 items?

Pick an answer above to see the rest
Predict

Counting sort on 7 values, each from 0 to 5. How many times does it compare two items?

Pick an answer above to see the rest