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

单选题:Given input { 18, 92, 47, 51, 64, 9, 32 }. After the first parti

Luz5年前 (2021-05-10)题库1030
Given input { 18, 92, 47, 51, 64, 9, 32 }. After the first partition (with the median-of-three as the pivot) of quick sort, the resulting sequence is ____
@[D](3)

A. { 18, 9, 32, 51, 64, 92, 47 }
B. { 18, 9, 47, 32, 51, 92, 64 }
C. { 9, 18, 47, 51, 64, 92, 32 }
D. { 18, 9, 32, 92, 64, 47, 51 }



A.{ 18, 9, 32, 51, 64, 92, 47 }
B.{ 18, 9, 47, 32, 51, 92, 64 }
C.{ 9, 18, 47, 51, 64, 92, 32 }
D.{ 18, 9, 32, 92, 64, 47, 51 }


答案:D