摘要: 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 ggexs 阅读(657) 评论(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 ggexs 阅读(1147) 评论(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 ggexs 阅读(538) 评论(0) 推荐(0)