Math Problem Statement

Given the array [19, 87, 11, 12, 2, 58], arrange the iterations in the correct order until the array is sorted according to Quick Sort. Assume that the pivot element is selected to be the first element of any subarray, and that all subarray operations at a given level happen simultaneously.

Note: The options only show what the array looks like after the pivot and rearrangement has happened on any given recursive step. What number(s), if any, are NEVER the pivot element in the previous problem?

Solution