InterviewSolution
Saved Bookmarks
| 1. |
Apply Quick sort on a given sequence 7 11 14 6 9 4 3 12. What is the sequence after first phase, pivot is first element?(a) 6 4 3 7 11 9 14 12(b) 6 3 4 7 9 14 11 12(c) 7 6 14 11 9 4 3 12(d) 7 6 4 3 9 14 11 12This question was addressed to me in semester exam.The above asked question is from Quicksort topic in chapter Sorting of Data Structures & Algorithms II |
|
Answer» The correct ANSWER is (B) 6 3 4 7 9 14 11 12 |
|