数据结构专升本模拟题及参考答?- 百度文库 ر

B2n-1

CDn-1

2. һnͨͼͨΪ

A0 B1 Cn Dn+1

3. ļĻҪIJǣ

A Bɾ C޸ D

4. Թؼ28163212602572򣬴СһλֽΪ A(2,5,12,16)26(60,32,72) B(5,16,2,12)28(60,32,72) C(2,16,12,5)28(60,32,72) D(5,16,2,12)28(32,60,72)

5. ֻõ1000Ԫɵе5СԪ֮ǰIJУã 졣 A B C D鲢 6㷨Ŀǣ

Aҳݽṹĺ Bо㷨еĹϵ

2n

C㷨ЧĽ D㷨׶Ժĵ

7. ĵIຬнΪ

A2I B 2I-1-1 C 2I-1 D2I -1

8ѭд洢AУΪmʱIJΪ

A. rear=rear+1 B. rear=(rear+1) mod (m-1) C.

rear=(rear+1)

mod

m

D.

rear=(rear+1)mod(m+1)

9. Head(A)=Tail(A)AΪ A B C D

10. һöΪ3УΪ3ĽΪ2Ϊ2ĽΪ1Ϊ1ĽΪ2Ϊ0ĽΪ

A3 B4 C5 D6

1. һѭУָָԪص_________

2. ÿһͨΪ ±֣±ĸ 3. һͼ ʾΨһģ ʾDzΨһġ

4. һ10׵B-ϣÿĹ

Ŀ

5. ԹؼУ528063444891һ˿֮ĵõΪ

10.߶Ϊ1ƽĽ________߶Ϊ2ƽĽ________ ж

1. ˳洢ṹھ̬ṹʽṹڶ̬ṹ

2. ʹԲͬԪصͬһн鲻ͬġϷջͳջϲõҲһͬ

3. ȨͼСΨһġ 4. B-B+ļṹ 5. ö㷨ʱҪҪ\\ ġӦ

1. ģʽp=\nextֵΪ٣

2. άA[5][6]ÿԪռ4ֽڣ֪LOCa0,0=1000AռٸֽڣAն˽a4,5ʼַΪ٣кͰȴ洢ʱa2,5ʼֱַΪ٣

3. a,b,c,d,eַıֱΪ1,2,3,4,5ʶ´֣ac,bd,aa,be,ab,ad,cd,bc,ae,ceҪùϣHashǴ10λõıС

1ؼ֣ʶһϣʹ÷ͻܵ٣2̽ɢзͻдؼڱλá