08 2020 档案
摘要:// 顺序栈 #include <stdlib.h> #include <stdio.h> #define STATUS_TRUE 1 #define STATUS_FALSE 0 #define MAXSIZE 100 typedef int SElemType; /* * ADT - 栈的基本抽
阅读全文
摘要:#include <stdlib.h> #include <stdio.h> #define STATUS_OK 0 #define STATUS_FAILED -1 // 定义基本数据结构 // 1 利用大数组定义静态链表,数组由头结点,尾结点,已用链表,备用链表四部分构成 // 2 数组头结点:
阅读全文
摘要:// 实现单循环链表 #include <stdlib.h> // 引入标准库与输入输出库 #include <stdio.h> typedef int ElemType; // 定义带头结点的单链表 typedef struct node { ElemType data; struct node*
阅读全文

浙公网安备 33010602011771号