尾插法链表拆分
摘要:
1 #include 2 #include 3 /* 4 尾插法链表拆分:1.建立空链表。2.插入节点。3.遍历并输出插入节点后的链表数据 5 */ 6 typedef struct node 7 { 8 int data; 9 struct node * next; 10 }NODE; 11 //建立空链表 12 NODE * createList() 1... 阅读全文
posted @ 2018-09-23 22:20 王朝马汉 阅读(235) 评论(0) 推荐(0) 编辑