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 39

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

Question 1 of 21

What happens next?

Your guess