Linear List 顺序表 Flashcards

1
Q

向顺序表插入一个元素,平均需要移动多少个元素?

A

0+1+2+3+**+127/128= [(0+127)128/2 ]/128

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

如何初始化顺序表 (思路) ?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

如何 清空、删除 顺序表 (思路)?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

线性表 求长度、判断为空 函数 (思路)?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

顺序表 取值 (思路):

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

顺序表 查找需要值 (思路):

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

顺序表 删除第i个元素 (思路)

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

如何 区分 线性表、顺序表、链表

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

顺序表的合并 (pseudocode)

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

顺序表节点 (pseudocode)

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly