Question
2. Please work on a piece of paper. Use quick sort to sort the following array
{6, 2, 5, 9, 4, 2, 3, 7, 1, 8, 5). Any observations here? Is quick sort stable or not? Is quick
sort in-place or not?
expand button
Transcribed Image Text:2. Please work on a piece of paper. Use quick sort to sort the following array {6, 2, 5, 9, 4, 2, 3, 7, 1, 8, 5). Any observations here? Is quick sort stable or not? Is quick sort in-place or not?
Expert Solution
Check Mark