给定数组{16, 22, 3, 24, 10, 8, 18},用16作为切分元素完成一次快速排序切分后,其结果为( )。
A、{10, 3, 8, 16, 22, 24, 18}
B、{10, 8, 3, 16, 24, 22, 18}
C、{8, 3, 10, 16, 24, 18, 22}
D、{3, 8, 10, 16, 18, 22, 24}
发布时间:2024-10-06 13:15:28
A、{10, 3, 8, 16, 22, 24, 18}
B、{10, 8, 3, 16, 24, 22, 18}
C、{8, 3, 10, 16, 24, 18, 22}
D、{3, 8, 10, 16, 18, 22, 24}