1.  >>  国家开放大学 / 数据结构(本)
 国家开放大学 / 数据结构(本)

(1)一组记录的关键字序列为(57,90,67,50,51,56),利用堆排序(堆顶元素是最小元素)的方法建立初始堆(要求以完全二叉树描述 )。
(2)对关键字序列(56,51,71,54,46,106)利用快速排序,以第一个关键字为分割元素,给出经过一次划分后结果。
(3)一组记录的关键字序列为(60,47,80,57,39,41,46,30),利用归并排序的方法,分别给出(1,1)归并、(2,2)归并、(4,4)归并的结果序列。
 参考答案:
 佳题速递:
  • 砂浆的稠度指标表示砂浆的( )。建筑材料
  • 输入30个字符,统计其中字符A,B,C的个数(不分大小写),连续输入三个字符Q,则结束程序。VisualBasic程序设计
  • 中国共产党领导的革命统一战线,包含着哪两个联盟?中国特色社会主义理论体系
  • 影响个人教育需求的最重要的个人特征是 。教育经济学
  • 5、By 1830 the former Spanish and Portuguese colonies had become independent nations. The roughly 20 million of 1 these nations looked  2 to the future. Born in the crisis of the old regime and Iberian Colonialism, many of the leaders of independence 3 the ideals of representative government, careers 4 to talent, freedom of commerce and trade, the 5 to private property, and a belief in the individual as the basis of society. 6 there was a belief that the new nations should be sovereign and independent states, large enough to be economically viable and integrated by a 7 set of laws. On the issue of 8 of religion and the position of the church,9  there was less agreement 10 the leadership. Roman Catholicism had been the state religion and the only one 11 by the Spanish crown. 12 most leaders sought to maintain Catholicism 13 the official religion of the new states, some sought to end the 14 of other faiths. The defense of the Church became a rallying  15 for the conservative forces. The ideals of the early leaders of independence were often egalitarian, valuing equality of everything. Bolivar had received aid from Haiti and had promised in return to abolish slavery in the areas he liberated. By 1854 slavery had been abolished everywhere except Spain’s former colonies. Early promises to end Indian tribute and taxes on people of mixed origin came much tougher because the new nations still needed the revenue such policies contributed . Egalitarian sentiments were often tempered by fears that the mass of the population was unprepared for self-rule and democracy. 1.     [A] natives   [B] inhabitants   [C] peoples   [D] individuals 2.     [A] confusedly   [B] cheerfully   [C] worriedly   [D] hopefully 3.     [A] shared   [B] forgot   [C] attained   [D] rejected 4.     [A] related   [B] close   [C] open   [D] devoted 5.     [A] access   [B] succession   [C] right   [D] return 6.     [A] Presumably   [B] Incidentally   [C] Obviously   [D] Generally 7.     [A] unique   [B] common   [C] particular   [D] typical 8.     [A] freedom   [B] origin   [C] impact   [D] reform 9.     [A] therefore   [B] however   [C] indeed   [D] moreover 10.   [A] with   [B] about   [C] among   [D] by 11.   [A] allowed   [B] preached   [C] granted   [D] funded 12.   [A] Since   [B] If   [C] Unless   [D] While 13.   [A] as   [B] for   [C] under   [D] against 14.   [A] spread   [B] interference   [C] exclusion   [D] influence 15.   [A] support   [B] cry   [C] plea   [D] wish大学英语2
  • 氢氯噻嗪对尿中离子的影响是药理学(药学专)