没有合适的资源?快使用搜索试试~ 我知道了~
2. If the MaxSize of a Circular Queue is n and there is always a space not used,
资源详情
资源评论
资源推荐
数据结构与算法(B 卷)2013~2014~1
一、单项选择题(本大题共15 小题,每小题2 分,共30 分)
1. Given the input order of a stack is 6, 5, 4, 3, 2, 1, ( )is not the valid output order?
A. 5 4 3 6 1 2 B. 4 5 3 1 2 6 C. 3 4 6 5 2 1 D. 2 3 4 1 5 6
2. If the MaxSize of a Circular Queue is n and there is always a space not used, front points to the previous of the
front element in the queue, and rear points to the rear element in the queue. ( ) means that the Queue is Empty.
A. (rear+1) MOD n == front B. rear == front
C. rear+1 == front D. (rear-l) MOD n == front
3. In the following sorting methods, ( ) is not stable.
A. Insertion sort B. Heap C. Bubble D. Merge sort
4. In the following sorting methods, the method whose KCN(Keys Compare Number) is irrelative with the initial
order of sequence is ( ).
A. Insertion sort B. Bubble sort C. Heap sort D. Selection sort
5. In the following sorting methods, ( ) need extra (n) space.
A.Shell sort B. Heap sort C. Selection sort D. merge sort
6. In the following sequence, ( ) is a heap?
A. 75, 65, 30, 15, 25, 45, 20, 10 B. 75, 65, 45, 10, 30, 25, 20, 15
C. 75, 45, 65, 30, 15, 25, 20, 10 D. 75, 45, 65, 10, 25, 30, 20, 15
7. The data Structures can be divided into ( ) according to their Physical form
A.Array-based structures and Linked structures B.Dynamic structures, Static structures
C.Liner structures, Non-liner structures D.Simple structures, Complex structures
8. In the following data-structures, ( ) is liner structure.
A.DAG B. BST C. linked based Stack D. Heap
9. If the height of a Complete Binary Tree is n, then the number of node is at most ( ).
A. 2
n
B. n C. 2
n
-1 D. 2
n-1
-1
10. When sorting the sequence {15,9,7,8,20,-1,4}, the middle result after one pass is: {9,15,7,8,20,
-1,4}; Then the sort method used is ( ).
A. Insertion Sort B. Heap sort C. Quick sort D. Bubble Sort
11. A collision resolution technique that places all records directly into the hash table is called ( ).
A. Open hashing B. Separate chaining C. Closed hashing D. Probe function
12. A 2-3 tree is a specific variant of a ( ).
A. Splay tree B. B-tree C. BST D. Trie
13. Pick the growth rate that corresponds to the most efficient algorithm when n = 4. ( )
A. 5n B. 20 log n C. 2n
2
D. 2
n
14. All operations on a stack can be implemented in constant time except ( ).
A. Push
B. Pop
C. The implementor's choice of push or pop (they cannot both be implemented in constant time).
D. None of the above.
15. Recursion is generally implemented using ( ).
A. A sorted list B. A stack C. A queue D. none of the above
方2郭
- 粉丝: 26
- 资源: 324
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- postgresql-42.7.3.jar
- 2024-05-21 20-36-43.mkv
- 基于QT+C++的智能云监护仪项目,能够实时显示使用者心电、血氧、血压波形及其它各种参数+源码(毕业设计&课程设计&项目开发)
- 基于java开发的app接收硬件端传输的心音信号,具有显示心音波形,发出心音的功能+源码(毕业设计&课程设计&项目开发)
- Python 程序语言设计模式思路-行为型模式:职责链模式:将请求从一个处理者传递到下一个处理者
- 9241703124789646.16健身系统2.apk
- postgresql-16.3-1-windows-x64.exe
- Python 程序语言设计模式思路-结构型模式:装饰器讲解及利用Python装饰器模式实现高效日志记录和性能测试
- 基于YOLOv5和DeepSORT的多目标跟踪仿真与记录
- Python 程序语言设计模式思路-创建型模式:原型模式:通过复制现有对象来创建新对象,面向对象编程
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0