- 1、本文档共21页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
数据结构专科辅导八(Data structure tutorial eight)
Never sigh for the years that have gone, but must face the time that slips away. - Bly Hitt
Data structure tutorial eight
Sort of coaching exercises and answers
(1) individual choice questions
1. if the n elements are directly inserted into the sorting, the number of elements in the ordered table is () before the I sort procedure is performed.
A, N, B, n+1, C, n-1, D, 1
2. if the n elements are direct insertion sort, in the I Times Ranking, in order to find the most need to insert position (time) between elements, zeroth elements are assumed unknown key.
A, N, B, n-1, C, n+1, D, 1
3. if the N element is directly inserted and sorted, in the case of sorting I, assuming that the insertion position of the element r[i+1] is r[j], the number of times the element is moved is ().
A, J-I, B, i-j-1, C, I-J, D, i-j+1
4. if the N element is directly inserted and sorted, then the time complexity required to locate the insertion location is ().
A, O (1), B, O (n), C, O (N2), D, O (log2n)
5. in the process of direct insertion of n elements, you need to go through ().
A, N, B, n+1, C, n-1, D, 2n
6. direct insertion of n elements with a sorting time complexity of.
A, O (1), B, O (n), C, O (N2), D, O (log2n)
7. in the process of bubble sorting of n elements, the first sort of sorting requires at most () the exchange between adjacent elements.
A, N, B, n-1, C, n+1, D, n/2
8., in the process of bubbling n elements, the best time complexity is ().
A, O (1), B, O (log2n), C, O (N2), D, O (n)
9. in the process of bubbling n elements, you need at least () to complete.
A 1, B, N, C, n-1, D, n/2
In 10. of the n elements in the process of quick sort, if every time has been divided into the left, the number of elements in the two subintervals right of equal or only one, interval number with two or two elements of the sorting process is roughly (for).
A, N, B, n/2, C, log2n, D, 2n
11. in the quick sorting of n elements, the first division requires the mo
您可能关注的文档
- 8元5g流量教程(8 yuan 5g traffic tutorial).doc
- 8速变速箱的科技与应用(Technology and application of 8 speed gearbox).doc
- 09.获取好友列表(9 get a buddy list).doc
- 09-10年度电磁场与电磁波48学时考试复习(Review of the 48 hours examination of electromagnetic field and electromagnetic wave in 09-10).doc
- 09-2010学年 第一 学期期末考试卷 a 卷(09-2010 academic year's final exam volume a).doc
- 09年12月大学英语四级精炼高频200词(09 years in December, College English four, refining high-frequency 200 words).doc
- 09年12月份施工员考试试题答案(09 years in December, the builder examination questions answer).doc
- 09年最新银行前台柜员工作总结(Summary of the latest bank teller work in 09 years).doc
- 09年施工员考试题目(09 year construction worker examination topic).doc
- 9.6简谐运动的能量阻尼振动(9.6 energy damping vibration of simple harmonic motion).doc
- 岸基供电系统 第4部分:工频电源.pdf
- 人教版八下英语Unit 5 What were you doing when the rainstorm came_测试卷.docx
- 热带作物品种区域试验技术规程 木薯.pdf
- 草原防火阻隔带建设技术规程.pdf
- 渔用气胀救生筏技术要求和试验方法-.pdf
- 浙江省杭州市2024-2025学年八年级下学期期中考试英语试卷(含答案).docx
- 重庆市渝北区六校联盟2024-2025学年九年级下学期期中教学大练兵语文试卷.docx
- 食品安全-花椒籽油 (2).pdf
- 2025年海博思创分析报告:储能集成“小巨人”,国内外业务进展可期.pdf
- 地理标志产品 宽城板栗.pdf
最近下载
- 毕业设计(论文)-徐州某小区1#住宅楼工程工程量清单与招标控制价的编制.docx
- 南山森林抚育补贴试点项目作业设计.pdf VIP
- 2022年北京市自来水集团有限责任公司校园招聘考试笔试试题及答案解析.pdf VIP
- 全国《职业教育》专业知识(重点)考试题库(300题).docx
- 青春期男女生交往.pptx
- 北京市自来水集团有限责任公司校园招聘85人公开引进高层次人才和急需紧缺人才笔试参考题库答案详解版及参.docx VIP
- 物理专业英语词汇.pdf
- 简易装修合同电子版3篇 .pdf VIP
- 瓦楞纸箱印刷过程中的质量控制.pdf
- GB∕T 35379-2017 木门分类和通用技术要求(高清版).pdf
文档评论(0)