Question: Suppose we were performing Quick sort on the following array- {94, 31, 37, 52, 55, 13, 57, 68, 47, 82, 42, 93, 11, 62, 85,
Suppose we were performing Quick sort on the following array-
{94, 31, 37, 52, 55, 13, 57, 68, 47, 82, 42, 93, 11, 62, 85, 65, 48, 43, 27, 12}
If our initial pivot was 43. What would the state of the array be after the initial partitioning(using the in-place partitioning algorithm)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
