- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
数据结构 线性表试题(Data structure linear table question)
数据结构 线性表试题(Data structure linear table question) Choice question 1., for linear tables, the most common operation is to find the elements of the specified number and insert the elements at the end, then select () the most time saving (A) B) the double linked list of leading nodes (C) single linked list D) a single cycle linked list with tail nodes [answer] A 2. if the length of the n linear scale sequential storage structure, insert a new element in the I position of the time complexity of the algorithm is () (1 I n+1). (A) O (0) B) O (1) C) O (n) D) O (N2) [answer] C There are two pointers in the 3. prior and next two-way linked list, respectively, to the precursor and successor, P points to a node in the linked list, point to Q to insert nodes, are now required to insert the Q before P is inserted correctly (for) A) p-prior=q; q-next=p; p-prior-next=q; q-prior=p-prior; B) q-prior=p-prior; p-prior-next=q; q-next=p; p-prior=q-next; C) q-next=p; p-next=q; p-prior-next=q; q-next=p; D) p-prior-next=q; q-next=p; q-prior=p-prior; p-prior=q; [answer] D 4. insert a new node in an ordered single chain table with n nodes and still keep the ordered time complexity (A) O (nlog2n) B) O (1) C) O (n) D) O (N2) [answer] C 5. in a single loop chain with h as the head pointer, the P pointer points to the tail node of the chain A) p-next==NULL B) p-next==h C) p-next-next==h D) p-data==-1 [answer] B 6. for a linear table with n nodes, the time complexity of building its single chain table is () (A) O (n) B) O (1) C) O (nlog2n) D) O (N2) [answer] A 8. in the bidirectional linked list storage structure, the pointer must be modified when deleting the node referred to by P A) p-prior-next=p-next p-next-prior=p-prior; B) p-prior=p-prior-prior p-prior-next=p; C) p-next-prior=p p-next=p-next-next D) p-next=p-prior-prior p-prior=p-next-next; [answer] A 9. linear table uses chain storage when its element address () A) must be continuous B) must be discontinuous C) partial addresses are contigu
您可能关注的文档
- 循环系统--1(Circulatory system --1).doc
- 循环系统---2(Circulatory system ---2).doc
- 微博经典语录荟萃,值得珍藏!! (下)(Micro-blog classic quotations, worth collecting!).doc
- 微生物的介绍(Introduction of microorganisms).doc
- 循环答案(Loop answer).doc
- 循环开挖(Cyclic excavation).doc
- 循环系统4(Circulatory system 4).doc
- 微利时代渠道战略突围(Profit age, channel strategy, breakthrough).doc
- 微博经典语录荟萃,值得珍藏!!(上)(Micro-blog classic quotations, worthy of collection!).doc
- 心动的话(Heart stirring words).doc
- 数据结构(本)课程辅导与练习-第6章(Data structure (the) course guidance and practice - Chapter Sixth).doc
- 数据结构(c语言版)第一二章习题答案(Data structure (C Language Edition) first, two chapter exercises answer).doc
- 数据结构与算法(Data structures and algorithms).doc
- 数据结构编程之c语言线性表(Data structure c language programming of linear table).doc
- 数据结构线性表(Data structure linear table).doc
- 数据结构试题及答案3(Data structure, questions and answers 3).doc
- 数据结构顺序线性表的操作(Operation of data structure sequential linear table).doc
- 数据结构顺序线性表(Data structure sequential linear table).doc
- 数据计算机网络知识(Data, computer, network knowledge).doc
- 数据验证(data validation).doc
文档评论(0)