当前位置: X题卡 > 所有题目 > 题目详情

对于给定的一组关键字(12,2,16,30,8,28,4,10,20,6,18),按照希尔排序 (增量为5)算法进行递增排序,第一趟排序后得到的结果是 【2】 。

查看本题答案

你可能感兴趣的试题

2,12,16,8,28,30,4,6,10,18,20  2,12,16,30,8,28,4,10,6,20,18  12,2,16,8,28,30,4,6,10,28,18  12,2,10,20,6,18,4,16,30,8,28  
30,28,20,12,18,16,4,10,2,6,8  20,30,28,12,18,4,16,10,2,8,6  2,6,4,10,8,28,16,30,20,12,18  2,4,10,6,12,28,16,20,8,30,18  
2,4,6,8,10,12,16,18,20,28,30  6,2,10,4,8,12,28,30,20,16,18  12,2,10,20,6,18,4,16,30,8,28  30,10,20,12,2,4,16,6,8,28,18  
10,6,18,8,4,2,12,20,16,30,28  6,2,10,4,8,12,28,30,20,16,10  2,4,6,8,10,12,16,18,20,28,30  6,10,8,28,20,18,2,4,12,30,16  
10,6,18,8,4,2,12,20,16,30,28  6,2,10,4,8,12,28,30,20,16,18  2,4,6,8,10,12,16,18,20,28,30  6,10,8,28,20,18,2,4,12,30,16  
10,6,18,8,4,2,12,20,16,30,28  1,12,10,20,6,18,4,16,30,8,28  2,4,6,8,10,12,16,18,20,28,30  30,10,20,12,2,4,16,6,8,28,18  
哈希地址 0 1 2 3 4 5 6 关键字 14 8 23 45 7 12 19  哈希地址 0 1 2 3 4 5 6 关键字 7 8 12 14 19 23 45  哈希地址 0 1 2 3 4 5 6 关键字 7 8 23 45 12 19 14  哈希地址 0 1 2 3 4 5 6 关键字 14 7 12 8 45 23 19  
30,28,20,12,18,16,4,10,2,6,8  20,30,28,12,18,4,16,10,2,8,6  2,6,4,10,8,28,16,30,20,12,18  2,4,10,6,12,28,16,20,8,30,18  
2,4,6,8,10,12,16,18,20,28,30  6,2,10,4,8,12,28,30,20,16,18  12,2,10,20,6,18,4,16,30,8,28  30,10,20,12,2,4,16,6,8,28,18  
30,28,20,12,18,16,4,10,2,6,8  20,30,28,12,18,4,16,10,2,8,6  2,6,4,10,8,28,16,30,20,12,18  2,4,10,6,12,28,16,20,8,30,18  
2,12,16,8,28,30,4,6,10,18,20  2,12,16,30,8,28,4,10,6,20,18  12,2,16,8,28,30,4,6,10,28,18  12,2,10,20,6,18,4,16,30,8,28  
10,6,18,8,4,2,12,20,16,30,28  1,12,10,20,6,18,4,16,30,8,28  2,4,6,8,10,12,16,18,20,28,30  30,10,20,12,2,4,16,6,8,28,18  
10,6,18,8,4,2,12,20,16,30,28  6,2,10,4,8,12,28,30,20,16,18  2,4,6,8,10,12,16,18,20,28,30  6,10,8,28,20,18,2,4,12,30,16  
10,6,18,8,4,2,12,20,16,30,28  1,12,10,20,6,18,4,16,30,8,28  2,4,6,8,10,12,16,18,20,28,30  30,10,20,12,2,4,16,6,8,28,18  
2,4,6,8,10,12,16,18,20,28,30  6,2,10,4,8,12,28,30,20,16,18  12,2,10,20,6,18,4,16,30,8,28  30,10,20,12,2,4,16,6,8,28,18  
2,12,16,8,28,30,4,6,10,18,20  2,12,16,30,8,28,4,10,6,20,18  12,2,16,8,28,30,4,6,10,28,18  12,2,10,20,6,18,4,16,30,8,28  

热门试题

更多