首页 > 编程语言 > 详细

数据结构与算法(周测1)

时间:2019-10-25 01:08:10      阅读:233      评论:0      收藏:0      [点我收藏+]

1.In a singly linked list of N nodes, the time complexities for query and insertion are O(1) and O(N), respectively.

     T      F

2.If N numbers are stored in a singly linked list in increasing order, then the average time complexity for binary search is O(logN).

     T      F

3.If keys are pushed onto a stack in the order abcde, then it‘s impossible to obtain the output sequence cedab.

     T      F

数据结构与算法(周测1)

原文:https://www.cnblogs.com/nonlinearthink/p/11735810.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!