![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
nlog3n
这个作者很懒,什么都没留下…
展开
-
堆栈的链式存储 C语言实现
堆栈的链式存储简单的PUSH和POP写给自己平时复习和使用的,有需要的话可以写的更加详细一点#include<stdio.h>#include<stdlib.h>#include<malloc.h>typedef struct stack{ int data; struct stack *next;}stack;stack *InitStack(stack *top); //初始化堆栈void display(stack *top)原创 2022-04-20 00:11:38 · 627 阅读 · 0 评论 -
链表的基本操作C语言实现
链表的基本操作写给自己平时复习和使用的,后面会写的更加详细一点#include<stdio.h>#include<stdlib.h>#include<malloc.h>struct link *AppendNode(struct link *head); //从链表尾部增加节点void DisplayNode(struct link *head); //展示链表struct link *DeleteNode(struct link *head,int原创 2022-04-15 00:27:47 · 156 阅读 · 0 评论