Skip to content

guess the next step: 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 52

564942312318127
Sort the part from place 1 to place 8. Its last number, 7, is the pivot: smaller numbers go to its left.

Question 1 of 35

What happens next?

Your guess