摘要:
循环链表,相对于普通单向链表,就是最后一个元素的指针域指向头结点 1 #include<bits/stdc++.h> 2 using namespace std; 3 #define sc scanf 4 #define pr printf 5 6 typedef struct LNode{ 7 i 阅读全文
posted @ 2019-09-30 21:36
ChunhaoMo
阅读(196)
评论(1)
推荐(0)
摘要:
1 #include<bits/stdc++.h> 2 using namespace std; 3 #define sc scanf 4 #define ElemType int 5 //线性表的链式表示和实现 6 7 typedef struct LNode{ 8 int data; 9 str 阅读全文
posted @ 2019-09-30 19:53
ChunhaoMo
阅读(344)
评论(0)
推荐(0)
摘要:
1 #include<bits/stdc++.h>//c++万能头文件,写了这个其他头文件不用写 2 using namespace std;//使用名字空间,你不用管 3 4 #define List_Init_Size 100 5 #define List_Inrement 10 6 #define pr printf 7 8 struct List{ 9 int *elem;//表的基地址 阅读全文
posted @ 2019-09-30 12:42
ChunhaoMo
阅读(654)
评论(0)
推荐(0)

浙公网安备 33010602011771号