5.若用冒泡排序方法对序列{10,14,26,29,41,51}从大到小排序,需进行()次比较?
问题描述:
5.若用冒泡排序方法对序列{10,14,26,29,41,51}从大到小排序,需进行()次比较?
A.3
B.10
C.15
D.25
答
选C要比较15次.
5.若用冒泡排序方法对序列{10,14,26,29,41,51}从大到小排序,需进行()次比较?
A.3
B.10
C.15
D.25
选C要比较15次.