你可能感兴趣的试题
(4,10,15,72,39,23,18) (58,27,36,12,8,23,9) (4,10,18,72,39,23,15) (58,36,27,12,8,23,9)
值为n的元素 值为1的元素 值为n-k的元素 不确定的
(4,10,15,72,39,23,18) (58,27,)6,12,8,23,9) (4,10,18,72,39,23,15) (58,36,27,12,8,23,9)
先按主关键字排序,然后再自动按次关键字排序 按主关键字排序,次关键字无效 次关键字字段按次关键字排序,其他字段按主关键字排序 先按主关键字排序,当主关键字的值相同时再按次关键字排序
关键字序列K1,K2,…,Kn呈非递减排序时一定为小根堆 小根堆中的序列K1,K2,K4,…,一定为非递减序列 小根堆中元素K2i与之间的大小关系不能确定 小根堆的最后一个元素一定是序列的最大元素
59,53,48,46,37,31,25 59,46,53,48,37,31,25 59,37,53,25,31,46,48 59,53,48,3l,25,46,37
(5,10,15,76,39,27,18) (5,10,18,76,39,27,15) (59,27,36,15,8,25,9) (59,36,27,15,8,25,9)
(5,10,15,76,39,27,18) (5,10,18,76,39,27,15) (59,27,36,15,8,25,9) (59,36,27,15,8,25,9)
59,53,48,46,37,31,25 59,46,53,48,37,31,25 59,37,53,25,31,46,48 59,53,48,31,25,46,37
(4,10,15,72,39,23,18) (58,27,36,12,8,23,9) (4,10,18,72,39,23,15) (.58,36,27,12,8,23,9)
12,20,36,48,25,50,40 12,36,20,48,40,25,50 12,20,25,36,40,48,50 12,36,20,48,25,50,40
(5,10,15,76,39,27,18) (5,10,18,76,39,27,15) (59,27,36,15,8,25,9) (59,36,27,15,8,25,9)