問題詳情
37. Assume that quicksort is being used to sort an array A with values 4 2 8 73 1 5 6. After the firstinvocation to the partition algorithm the array looks like this: 2 3 1 4 7 5 8 6. Which value could havebeen chosen as the pivot?
(A) 4
(B)7
(C)1
(D)3
(E)8
參考答案
答案:[無官方正解]
難度:計算中-1
書單:沒有書單,新增