浙大数据结构期末考试2009-2010.pdf

  1. 1、本文档共7页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
浙大数据结构期末考试2009-2010.pdf

浙江大学2009 –2010 学年秋学期 《数据结构基础》课程期末考试试卷(A) 课程号: 211C0020_,开课学院:_计算机科学与技术_ 考试试卷:√A 卷、B 卷(请在选定项上打√) 考试形式:√闭、开卷(请在选定项上打√),允许带____无___入场 考试日期: 2009 年 11 月 17 日,考试时间: 120 分钟 诚信考试,沉着应考,杜绝违纪。 考生姓名: 学号: 所属院系: _ 题序 一 二 三 四 总 分 得分 评卷人 Answer Sheet Part I (24) 1. 2. 3. 4. 5. 6. 7. 8a. 8b. 9. 10. 11. Part II (18) 1. ______________ _________________ _______________ ________________ 2. _________________ _________________ Part III (43) 1. 2. (a) The initial max-heap sequence is: (b) The sequences of the first 4 runs are: 3. (a) DFS: (b) BFS: (c) Topological order: 4. S 1 2 3 4 5 6 7 8 9 10 Union(1,2) Union(3,4) Union(1,3) Union(3,5) Union(6,7) Union(1,7) Union(7,8) Union(4,10) 5. One possible inserting sequence is: Part IV (15) NOTE: Please write your answers on the answer sheet. 注意:请将答案填写在答题纸上。 I. Please select the answer for the following problems. (24 points) (1) Given as following the recurrence relations of the time complexities of two programs: P1. T(1)=1, T(N)=T(N/2)+1; and P2. T(1)=1, T(N)=2T(N/2)+1; What conclusion can be made about the time complexities of the two programs? a. both are O(logN) b. O(logN) and O(NlogN) respectively c. both are O(N) d. O(logN) and O(N) respectively (2) In a singly linked list with N nodes, which

文档评论(0)

tangtianbao1 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档