- 12
- 0
- 约2.93千字
- 约 14页
- 2016-09-20 发布于浙江
- 举报
1.Draw the process of merge sort for the following data: (8%)12, 6, 2, 9, 20, 8, 13, 5Filling: the time complexity of merge sort is ?(__________). (2%)the time complexity of merge sort is ?(nlogn)2.Construct an AVL tree for the list 5, 8, 10, 3, 12, 4, 7. (10%)3. 1) For array A [30, 5, 20, 56, 8, 75, 31, 19], please use the Bottom-Up algorithm to construct a heap (max heap). (6%)2) The time-complexity of the worst-case heap construction is _______. (2%)3) Give an example of worst-case heap construction. (2%)1)30307552056755630582031582031568753119191975755630563119820311982030552) The time-com
您可能关注的文档
- 《Struts2与控制器Action》T9.ppt
- 《Struts2与控制器Action》T10.ppt
- 《Struts2与控制器Action》T11.ppt
- 《Struts2与控制器Action》T12.pptx
- 《Struts2与控制器Action》专题5案例2.ppt
- 《Struts2与控制器Action》专题五案例一.ppt
- 《Summary of the course教学课件》ch02-li.ppt
- 《Summary of the course教学课件》ch03-li.ppt
- 《Summary of the course教学课件》ch03-li2.ppt
- 《Summary of the course教学课件》ch04-li.ppt
最近下载
- 《网络攻防与协议分析》课件——4.DDoS攻击原理及入侵检测配置.pptx VIP
- 江苏海安农村商业银行股份有限公司 2013 年年度报告摘要.pdf VIP
- 平台经济培训课件下载.ppt VIP
- 三国志姜维传简体完整版完美攻略.docx VIP
- 锅炉课件共28张PPT).pptx VIP
- T_AOPA 0063—2024(电动航空器高压配电系统技术规范).pdf VIP
- 【通力KONE电梯资料】CTP-05.70.S2A_随行电缆.pptx VIP
- 某纯电动汽车两档变速器结构设计.doc
- 第四单元 村落、城镇与居住环境(复习课件)高二历史(选择性必修2:经济与社会生活).pptx VIP
- 晋升高级卫生专业技术职称考试-公共卫生真题集.doc VIP
原创力文档

文档评论(0)