quick sort..plz tell the algo also
Which of the following cannot be the intermediate sequence if we apply quick sort on 9,8,7,6,5,4,3,2,1? Assume the pivot is always the first element A) 1,8,7,6,5,4,3,2,9 B) 1,2,3,6,5,4,7,8,9 C) 1,2,7,6,5,4,3,8,9 D) 1,2,3,5,4,6,7,8,9
Which of the following cannot be the intermediate sequence if we apply quick sort on 9,8,7,6,5,4,3,2,1?Assume the pivot is always the first elementA) 1,8,7,6,5,4,3,2,9B) ...