- 博客(2)
- 收藏
- 关注
原创 数据结构-单链表的尾插法
和之前发过的头插法一样,尾插法也是单链表输入数据的一种方式,我这里先给出代码,再进行图片的分析。代码 如下:#include <stdio.h>#include <stdlib.h>struct Node{ int info; struct Node *next;}; typedef struct Node *LinkList;LinkList c...
2019-12-10 01:26:05
426
原创 数据结构-单链表的头插法
首先我们已知P和L为两个结构体指针。info为值域,next为指针域然后我们代码如下#include <stdio.h>#include <stdlib.h>struct Node{ int info; struct Node *next;}; typedef struct Node *LinkList;LinkList creatLink(Li...
2019-12-09 23:14:07
238
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人