Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
update
  • Loading branch information
xiexie010 committed Jan 14, 2018
1 parent ae6e42e commit f14505d
Showing 1 changed file with 12 additions and 30 deletions.
42 changes: 12 additions & 30 deletions 04线性表.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,33 +9,15 @@

### 线性表的抽象数据类型描述

## 线性表的顺序存储结构

### 线性表的顺序存储结构——顺序表

```c
#define MaxSize 50

typedef struct
{
ElemType data[MaxSize];
int length;
} Sqlist;
```

### 顺序表基本运算的实现

```c
typedef int ElemType;
```

```c
//建立顺序表
void CreateList(Sqlist *&L,ElemType a[],int n)
{
int i;
L=
}


```
### 线性表的顺序存储结构
1. 顺序表

### 线性表的链式存储结构
1. 单链表
2. 双链表
3. 循环链表

### 线性表的应用
1. 任意两个表的简单自然连接过程
2. 有序表
* 归并算法

0 comments on commit f14505d

Please sign in to comment.