Skip to main content

Sorting Quiz

Editorial

16 questions across the four Sorting lessons and the section's problems: the simple sorts and what sorted order buys; merge sort and counting while merging; quick sort, partitions and quickselect; and the sorts that don't compare. Pick an answer to see whether it's right and why. Nothing is saved, so you can take it again.

If one trips you up, its lesson is Introduction to Sorting, Merge Sort and Counting Inversions, Quick Sort and Partitioning or Counting, Bucket and Radix Sort.

Quiz

1 / 16

Multiple choice

Rank Transform of an Array on [40, 10, 20, 10, 40]: what comes out?