-->
当前位置:首页 > 题库

单选题:Quick Sort can be implemented by a recursive function `void Qsor

Luz5年前 (2021-05-10)题库631
Quick Sort can be implemented by a recursive function `void Qsort( ElementType A[ ], int Left, int Right )`. If we are to implement the function `Qsort()` in a **non-recursive** way with a stack, which of the following should be packed as the elements of the stack? @[C](3)

A. value of pivot
B. index of pivot
C. `Left` and `Right`
D. only `Left` or `Right`




A.value of pivot
B.index of pivot
C.`Left` and `Right`
D.only `Left` or `Right`


答案:C