- 博客(3)
- 收藏
- 关注
翻译 线性表的顺序表示和实现3(归并)
1 # include <stdio.h> 2 # include <stdlib.h> 3 typedef int ElemType; 4 typedef int Status; 5 typedef struct sqlist 6 { 7 ElemType * elem; 8 int length; 9 int...
2018-08-05 23:32:07
193
翻译 线性表的顺序表示和实现2(联合)
1 # include "test.h" 2 void equal(ElemType, ElemType); 3 void Union(SqList * La, SqList * Lb) 4 { // 将所有线性表Lb中但不在La的数据元素插入到La中(Lb不改变) 5 ElemType e; 6 int La_len, Lb_len; ...
2018-08-05 17:57:42
154
翻译 线性表的顺序表示和实现
1 # ifndef _TEST_H_ 2 # define _TEST_H_ 3 # include <stdio.h> 4 # include <stdlib.h> 5 # include <stdbool.h> 6 # define LIST_INIT_SIZE 10 //线性表存储空间初始分配 7 # define ...
2018-07-04 22:26:39
133
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人