- 1、本文档共41页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Data structure(SSD5) Review Chapter1 Introduction Concepts about data structure Review of C++ Algorithm Performance and analysis of algorithm 1.( )For the following program fragment the running time(Big-Oh) is . i = 0; s = 0; while(s ( 5*n*n + 2)) { i++; s = s + i;} a. O(n) b. O(n2) c. O(n1/2) d. O(n3) 2. For the following program fragment the running time(Big-Oh) is . for ( int i = 0; i n; i++ ) for ( int j = 0; j i; j++) s; //s为某种基本操作 O(n) b. O(n2) c. O(n1/2) d. O(n3) 3. Which is non-linear data structure_____. A queue B stack C tree D sequence list Chapter 2 Array ADT of Array Sequential access, address computing of elements in the array Sequence List Operation of sequence list: Access, insert, delete, find, successor and predecessor. Time complexity of these operations. ADT of Polynomial Representation of polynomial and Addition Special Array and Sparse Array: storage and compression STL vector, deque,list and string 1. We store a 4×4 symmetric matrix A into an array B (index start from 0)with row major order Store the lower triangle only, the index of element a[2][3] in B is . 2. ( )The worst-time for removing an element from a sequence list (Big-Oh) is . a. O(1) b. O(n) c. O(n2) d. O(n3) 3. We can use 3 vector type to store value and of non-zero elements in a sparse matrix. Chapter 3 Linked Lists ADT of linked lists Insertion and deletion of single linked list ( header, tail) Static linked list, Circularly Linked Lists, Doubly Linked Lists. Linked list Implementation of Polynomial and Sparse Matrix 1. Which of the following is true ① we can random access an element in array. ② we can random access an element in linked list. ③we cant random access both in array and linked list. ④all above is
您可能关注的文档
- C08-课堂教学的组织与管理(李志7.4)C08-课堂教学的组织与管理(李志7.4).ppt
- C2C交易模式C2C交易模式.ppt
- C5116A单柱立式车床技术协议C5116A单柱立式车床技术协议.doc
- C60_高标号混凝土施工方案C60_高标号混凝土施工方案.doc
- C7学校全员与人制度、岗位育人职责C7学校全员与人制度、岗位育人职责.doc
- CA10B解放牌汽车前刹车调整臂外壳夹具设计CA10B解放牌汽车前刹车调整臂外壳夹具设计.doc
- CA6140车床杠杆设计说明书CA6140车床杠杆设计说明书.doc
- CA6140车床手柄座及10H7孔夹具设计说明书CA6140车床手柄座及10H7孔夹具设计说明书.doc
- ca6140车床831009杠杆铣30mm下平台说明书完整版ca6140车床831009杠杆铣30mm下平台说明书完整版.doc
- CAD 工程制图CAD 工程制图.ppt
- ch4信息安全风险评估ch4信息安全风险评估.ppt
- DCC装置区自评报告DCC装置区自评报告.doc
- DB01数据库第一章教学pptDB01数据库第一章教学ppt.ppt
- D27~D30 混凝土方案D27~D30 混凝土方案.doc
- DCS 系统在硫酸余热发电过程中的应用DCS 系统在硫酸余热发电过程中的应用.doc
- Dave Ulrich四角色模型在宝洁公司的应用Dave Ulrich四角色模型在宝洁公司的应用.doc
- DCS控制系统设计案例分析DCS控制系统设计案例分析.ppt
- DCS系统故障紧急处理措施基本原则DCS系统故障紧急处理措施基本原则.doc
- DDC控制器-介绍DDC控制器-介绍.doc
- dede目录详细说明_织梦所有目录及数据表详解dede目录详细说明_织梦所有目录及数据表详解.doc
最近下载
- 《计算机网络技术基础 》(王崇刚)教案 (实训部分) 上机实训(五) .docx VIP
- 装修公司融资商业计划书(精选5).pptx
- 生化期末考试吉林大学2015.pdf VIP
- 计算机网络技术基础与实训.pptx VIP
- 2023年牛津译林版七年级英语下册Unit8 测试题(附答案).doc VIP
- 《计算机网络技术基础 》(王崇刚)教案 (实训部分) 上机实训(七) .docx VIP
- 消防法律法规知识培训.docx VIP
- 《计算机网络技术基础 》(王崇刚)教案 (实训部分) 上机实训(六) .docx VIP
- 《计算机网络技术基础 》(王崇刚)教案 (实训部分) 上机实训(四) .docx VIP
- 《计算机网络技术基础 》(王崇刚)教案 (实训部分) 上机实训(三) .docx VIP
文档评论(0)