
链表
..
鳳九~
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
HDU 1702 ACboy needs your help again!(单链表写法)
ACboy was kidnapped!!he miss his mother very much and is very scare now.You can’t image how dark the room he was put into is, so poor ????.As a smart ACMer, you want to get ACboy out of the monster’s l...原创 2019-09-09 13:58:30 · 199 阅读 · 0 评论 -
HDU - 1022 Train Problem I(栈)
As the new term comes, the Ignatius Train Station is very busy nowadays. A lot of student want to get back to school by train(because the trains in the Ignatius Train Station is the fastest all over t...原创 2019-08-11 16:47:14 · 102 阅读 · 0 评论 -
双链表的创建、插入、删除与查询 C语言
适合初学者代码#include<stdio.h>#include<stdlib.h>struct node{int data;struct node *next; struct node *prior;};typedef struct node *LinkList;void create(LinkList head,LinkList tail,int n...原创 2019-07-16 10:48:08 · 1443 阅读 · 0 评论 -
单链表的创建、插入删除和查询
适合初学者的代码刚开始接触这个东西是感觉有点懵逼,但是学完之后,感觉其实就是把原来放在数组中的元素,变成放在一个链表中了,别的操作几乎相同。头插法创建链在遍历时元素输出的顺序与原来输进去的元素的顺序是相反的,而尾插则是相同的。例如输进去的是1 2 3 4 5。头插遍历是:5 4 3 2 1。尾插遍利是:1 2 3 4 5。这是我写的代码希望对那些初学链表的兄弟姐妹们有帮助。#incl...原创 2019-07-27 11:51:35 · 1497 阅读 · 0 评论