单选题:Quick Sort can be implemented by a recursive function `void Qsor
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
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