奋斗的屌丝

导航

2019年10月5日 #

单链表 头插 尾插 遍历 删除

摘要: #include <stdio.h>#include <stdlib.h>#include <string.h> struct node{ int data; struct node *pNext;}; void insertTail(struct node *pH,struct node *new 阅读全文

posted @ 2019-10-05 19:01 奋斗的屌丝 阅读(134) 评论(0) 推荐(0) 编辑

单链表 头插 尾插 遍历

摘要: #include <stdio.h>#include <stdlib.h>#include <string.h> struct node{ int data; struct node *pNext;}; void insertTail(struct node *pH,struct node *new 阅读全文

posted @ 2019-10-05 18:06 奋斗的屌丝 阅读(148) 评论(0) 推荐(0) 编辑

单链表头插,尾插

摘要: #include <stdio.h>#include <stdlib.h>#include <string.h> struct node{ int data; struct node *pNext;}; void insertTail(struct node *pH,struct node *new 阅读全文

posted @ 2019-10-05 17:25 奋斗的屌丝 阅读(128) 评论(0) 推荐(0) 编辑

单链表尾插法,头结点作为结点个数进行计数

摘要: #include <stdio.h>#include <stdlib.h>#include <string.h>struct node{ int data; struct node *pNext;};void insertTail(struct node *pH,struct node *new){ 阅读全文

posted @ 2019-10-05 11:10 奋斗的屌丝 阅读(224) 评论(0) 推荐(0) 编辑