摘要: /*头插法实现单链表逆置*/ #include<stdio.h> #include<malloc.h> typedef struct LNode { char data; struct LNode *next; }LNode,*LinkList; bool InitList(LinkList &L) 阅读全文
posted @ 2020-06-18 22:22 石乐智先生 阅读(677) 评论(0) 推荐(0) 编辑
摘要: /*单链表*/ #include<stdio.h> #include<malloc.h> typedef int ElemType; typedef struct LNode{ ElemType data; struct LNode *next; }LNode,*LinkList; bool Ini 阅读全文
posted @ 2020-06-18 21:25 石乐智先生 阅读(359) 评论(0) 推荐(0) 编辑