Skip to content

guess the next step: Randomised quick sort

Before each step plays, guess what it does. The page then shows the step as the run takes it and says why, the same sentence the watch page says there.

Step 2 of 38

127494231561823
Sort the part from place 1 to place 8. Pick one of its places at random: place 5, so its number, 31, is the pivot.

Question 1 of 21

What happens next?

Your guess