![数据结构考试及答案_第1页](http://file4.renrendoc.com/view/730a3945e18ad959673dd4f7ce926f0a/730a3945e18ad959673dd4f7ce926f0a1.gif)
![数据结构考试及答案_第2页](http://file4.renrendoc.com/view/730a3945e18ad959673dd4f7ce926f0a/730a3945e18ad959673dd4f7ce926f0a2.gif)
![数据结构考试及答案_第3页](http://file4.renrendoc.com/view/730a3945e18ad959673dd4f7ce926f0a/730a3945e18ad959673dd4f7ce926f0a3.gif)
![数据结构考试及答案_第4页](http://file4.renrendoc.com/view/730a3945e18ad959673dd4f7ce926f0a/730a3945e18ad959673dd4f7ce926f0a4.gif)
![数据结构考试及答案_第5页](http://file4.renrendoc.com/view/730a3945e18ad959673dd4f7ce926f0a/730a3945e18ad959673dd4f7ce926f0a5.gif)
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
数据结构考试及答案
)。(A)
(B)
m (A)
(B)
2m
2m+1
4m
F
R
F
R
)。(A)
(B)
)。(A)
(B)
n
(A)
(B)
n
n
)。(A)
(B)
n
(A)
(B)
n
n+1
)。(A)
(B)
______________________________________________
{
{____________________;_________________;}} ___________ _____________________
________________ n
e de=_______ ___________________________
V
V
_______________________
p
Aq
B
A
B
)。
T
{(AB)(A(A(BE)F)G)}
+N d/2
4)}
R)R={r}02><0103><0104><0205><0206><0307><0308><03A
)。(A)
(B)
i<=n
i++
s=s+t}(A)
(B)
p
AA )。(A)
q=p->nextp->data=q->data(B)
q=p->nextq->data=p->data
q=p->next
q=p->nextp->data=q->data
n
(A)
(B)
n
n
n
(A)
(B)
n
)。(A)
(B)
n
e
)。(A)
ne (B)
en
e
n
n
(A)
(B)
n+1
n
(A)
(B)
(A)
(B)
___________________________
_____________________
___________
i
i
________
i
i
________ n
________
n
e
d
e
d_________ __________
X________X
____________
n
i
_______________________
___________________________
2><23><14><42><4____________________
{
i,j;
(_______________________
}
node
node
{
else_____________;}
q
A
B
B
A
B
e=d
n}
n
i
)。(A)
(B)
(A)
(B)
n
e
)。(A)
n (B)
e
)。(A)
(B)
n
m
(A)
n (B)
m
m-1
(A)
(B)
)。(A)
(B)
(A)
(B)
l
)。(A)
=N+1 (B)
=Nl+N
=N+1
=2Nn
X
)。(A)
n+1 (B)
n
n
_________________
p
XX
_________________________________________________________
)。
____________
____________
(KKK______
______________
________________________
F
n
i
_______i
_______
______________________________________________________
n
A
i
j
______________________A
A
i
_________
i
_____________
mod
p
node
node
{
i,k;
{
}} B A B A A
n/2 m-1
)。(A)
(B)
d=4
)。(A)
(B)
)。(A)
(B)
)。
n
)。(A)
(B)
m
l
m
Nm
= )。(A)
l+N (B)+2N+3N
+2N+3N
l+3N
X
(A)
(B)
c)}
)。(A)
(B)
nn
i
)。(A)
(B)
)。(A)
(B)
n____________________
____________________
n
AA[i][j]_______ ___________________ ABCDEF___________
______________________
__________________
A
A
i
i
________
i
i
__________ n/2
_______________________________
{
{
j<_____________;j++)
}}
],
{
{________________________________;
if(____________)
}}
DBEACABDEC
mod
A B A A B B B top1+1=top2 FILO ABDECFDBEAFCDEBFCA i<=k
i<=k DEBCA
6} )。(A)
(B)
)。(A)
(B)
head
)。(A)
head==0 (B)
head->next==0
head->next==head
)。(A)
(B)
)。(A)
(B)
)。(A)
(B)
)。(A)
(B)
)。(A)
(B)
)。(A)
(B)
(A)
(B)
+1
X )。(A)
(B)
n
e
)。(A)
(B)
(A)
(B)
n
)。(A)
(B)
A
i
)。(A)
i
(B)
i
i
i
T
BTBT
t=1i<=n
s=s+t}_________
p
A
X__________________________)。
=R),5}R={r}__________
n
_________,度数为_______
F
R
_____________________
p
______________________________________________________________________________________________________ A A A B A B A B B
n
(A)
(B)
n
n/2
n
(A)
n (B)
)。(A)
(B)
.( (A)
(B)
i
)。(A)
(B)
do
)。(A)
(B)
head )。(A)
head==0 (B)
head->next==0
head->next==head
)。(A)
(B)
)。(A)
(B)
top
)。(A)
top=top+1; (B)
p
A
X
A
X
_________=p__________=s
)。 n
________n
________ (KlKK______ __________________________________
______
h
________________
__________________________________
__________________________________
ABC______________
{
{
(____________________)
}_________________;}B B BA B n/2
B
)。(A)
(B)
n
(A)
(B)
)。(A)
(B)
(A)(B)
,则
)。(A)
(B)
)。(A)
(B)
(A)
(B)
)。(A)
(B)
(A)
(B)
c)}
)。(A)
(B)
(A)
(B)
d=4
_____________________________
node
node
{
}
p
A
XA
X
_
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024届哈尔滨市尚志市四年级数学第二学期期末考试模拟试题含解析
- 2023年医用液氧贮槽资金申请报告
- 【正版授权】 ISO 5263-3:2023 EN Pulps - Laboratory wet disintegration - Part 3: Disintegration of mechanical pulps at ≥85°C
- 【正版授权】 ISO 525:1986 EN Bonded abrasive products - General - Designation,marking,range of outside diameters and tolerances
- 2024届航空港区数学五年级第二学期期末综合测试模拟试题含解析
- 电子技术基础与技能 第4版 教案 12 集成功率放大器及其应用
- 2024年大班科学植物的“身体”教案
- 2024年大班科学教育教案
- 《拔萝卜》说课稿
- 【正版授权】 ISO 5193:1981 EN Wrought aluminium and aluminium alloys - Drawn round bars - Tolerances on shape and dimensions (Symmetric plus and minus tolerances on diameter)
- 岗位竞聘PPT模板
- 和君商学院第三次笔试
- 围栏拆除施工方案
- 颅内与椎管内血管性疾病课件
- 三好学生竞选PPT
- 习近平总书记关于教育的重要论述研究(安庆师范大学版)学习通超星课后章节答案期末考试题库2023年
- 科目一3小时速成璇姐笔记
- 残疾人职业生涯规划
- 瓜果、蔬菜栽培课件
- 子女不承担父母债务协议书
- 高中数学统计与概率主线分析课件
评论
0/150
提交评论