卷別
資料結構與演算法(A)
選擇國立臺灣大學 2021 · 考試 · 第 1 題
考科演算法
(5 points) When CAN the worst case of Quicksort occur?
- : Quick Sort where leftmost (or rightmost) element is always chosen as pivot
- : leftmost element is chosen as pivot and array is already sorted in SAME order
- : leftmost element is chosen as pivot and array is already sorted in REVERSE order
- (A)
- (B)
- (C)and
- (D)and