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

问题描述:

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

选C要比较15次.