1,1,2,5/2,3(2/5),()。A.5(4/5) B.5(1/5) C. 4(13/15) D. 4(5/17)
1,1,2,5/2,3(2/5),()。
A.5(4/5) B.5(1/5) C. 4(13/15) D. 4(5/17)
相关考题:
●设有关键码序列(16,9,4,25,15,2,13,18,17,5,8,24),要按关键码值递增的次序排序,采用直接选择排序法,一趟扫描后的结果为 (5) 。(5) A.(2,9,4,25,15,16,13,18,17,5,8,24)B.(15,2,4,18,16,5,8,24,17,9,13,25)C.(9,4,16,15,2,13,18,17,5,8,24,25)D.(9,16,4,25,2,15,13,18,5,17,8,24)
设有关键码序列(16,9,4,25,15,2,13,18,17,5,8,24),要按关键码值递增的次序排序,采用直接选择排序法,一趟扫描后的结果为A.(15,2,4,18,16,5,8,24,17,9,13,25)B.(2,9,4,25,15,16,13,18,17,5,8,24)C.(9,4,16,15,2,13,18,17,5,8,24,25)D.(9,16,4,25,2,15,13,18,5,17,8,24)
对关键码序列为(16,9,4,25,15,2,13,18,17,5,8,24)进行递增的次序排序,若采用直接选择排序法,一趟扫描后的结果为( )。A.(15,2,4,18,16,5,8,24,17,9,13,25)B.(9,4,16,15,2,13,18,17,5,8,24,25)C.(2,9,4,25,15,16,13,18,17,5,8,24)D.(9,16,4,25,2,15,13,18,5,17,8,24)
设有关键码序列(16,9,4,25,15,2,13,18,17,5,8,24),要按关键码值递增的次序排序,采用初始增量为4的希尔排序法,一趟扫描后的结果为( )。A.(15,2,4,18,16,5,8,24,17,9,13,25)B.(2,9,4,25,15,16,13,18,17,5,8,14)C.(9,4,16,15,2,13,18,17,5,8,24,15)D.(9,16,4,25,2,15,13,18,5,17,8,24)
设有关键码序列(16,9,4,25,15,2,13,18,17,5,8,24),要按关键码值递增的次序排序,采用起泡排序法,一趟扫描后的结果为________。A.(15,2,4, 18, 16, 5,8,24,17,9,13,25)B.(2, 9, 4, 25, 15, 16, 13, 18, 17, 5, 8, 24)C.(9, 4, 16, 15, 2, 13, 18, 17, 5, 8, 24, 25)D.(9, 16, 4, 25, 2, 15, 13, 18, 5, 17, 8, 24)
A.{(1,4),(2,3),(2,5)}B.{(3,5),(3,4),(4,5)}C.{(1,3),(3,4),(3,5)}D.{(2,3),(3,4),(2,5)}