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 31 of 43

712182342493156
Sort the part from place 5 to place 7. Pick one of its places at random: place 6, so its number, 49, is the pivot.

Question 19 of 25

What happens next?

Your guess