![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
链表
yue_luo_
这个作者很懒,什么都没留下…
展开
-
2120数据结构实验之链表五:单链表的拆分
数据结构实验之链表五:单链表的拆分#include<iostream>#include<malloc.h>using namespace std;int a=0,b=0;struct node{ int data; struct node *next;};struct node *creat(int m){ struct node *head,*tail,*原创 2016-10-08 19:58:06 · 633 阅读 · 0 评论 -
2121数据结构实验之链表六:有序链表的建立
数据结构实验之链表六:有序链表的建立#include<iostream>#include<malloc.h>using namespace std;int a=0,b=0;struct node{ int data; struct node *next;};struct node *creat(int m){ struct node *head,*tail,原创 2016-10-08 20:11:18 · 217 阅读 · 0 评论 -
2122数据结构实验之链表七:单链表中重复元素的删除
数据结构实验之链表七:单链表中重复元素的删除#include<iostream>#include<malloc.h>using namespace std;int a=0,b=0;struct node{ int data; struct node *next;};struct node *creat(int n){ struct node *head,*ta原创 2016-10-08 21:39:24 · 268 阅读 · 0 评论 -
2054数据结构实验之链表九:双向链表
数据结构实验之链表九:双向链表#include<stdio.h>#include<iostream>using namespace std;int n;struct node{ int d; node *prev,*next;};node *CreatList(int n) //顺序建双向链表{ node *head=new node; h原创 2016-10-08 22:07:54 · 670 阅读 · 0 评论 -
3331数据结构实验之链表八:Farey序列
数据结构实验之链表八:Farey序列#include<bits/stdc++.h> using namespace std; struct node { int a,b; node *next; }; void creat(node *head,int n) { node *t,*p,*q; t=head->next; w原创 2016-10-08 22:13:33 · 499 阅读 · 0 评论 -
2118数据结构实验之链表三:链表的逆置
2118数据结构实验之链表三:链表的逆置.#include<iostream>#include<malloc.h>using namespace std;struct node{ int data; struct node *next;};struct node *creat(){ struct node *head,*tail,*p;; int i;原创 2016-09-27 10:10:21 · 729 阅读 · 0 评论 -
2119数据结构实验之链表四:有序链表的归并
数据结构实验之链表四:有序链表的归并#include<iostream>#include<malloc.h>using namespace std;struct node{ int data; struct node *next;};struct node *creat(int m){ struct node *head,*tail,*p; int i原创 2016-10-08 19:03:57 · 436 阅读 · 0 评论 -
2116数据结构实验之链表一:顺序建立链表
2116数据结构实验之链表一:顺序建立链表#include<iostream>#include<malloc.h>using namespace std;struct node{ int data; struct node *next;};struct node *creat(int n){ struct node *head,*tail,*p; int原创 2016-09-26 21:26:03 · 382 阅读 · 0 评论 -
2117数据结构实验之链表二:逆序建立链表
2117数据结构实验之链表二:逆序建立链表#include<iostream>#include<malloc.h>using namespace std;struct node{ int data; struct node *next;};struct node *creat(int n){ struct node *head,*tail,*p; int原创 2016-09-26 21:31:49 · 267 阅读 · 0 评论