摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 //第一关代码 4 typedef int DataType; 5 typedef struct node * PNode; 6 struct node 7 {//此处填写代码,定义链表结点类型,包含一个存放整 阅读全文
posted @ 2020-10-16 12:50 ethon-wang 阅读(618) 评论(1) 推荐(2) 编辑
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 /*此处是顺序线性表数据结构定义*/ 5 typedef int DataType; 6 struct seqList 7 {//有3个数据成员 8 int MAXNUM;//用于记录顺序线性表中能存放的最 阅读全文
posted @ 2020-10-16 12:48 ethon-wang 阅读(1071) 评论(0) 推荐(1) 编辑
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 /*此处是链栈数据结构定义*/ 5 typedef int DataType; 6 struct node 7 { 8 DataType info; 9 struct node *link; 10 }; 1 阅读全文
posted @ 2020-10-16 12:46 ethon-wang 阅读(500) 评论(0) 推荐(0) 编辑