搜索资源列表
C++数据结构代码
- 本压缩包里含有队列、链表(单链表、双链表和循环链表)、栈、队列、两个栈实现一个队列、二叉树等数据结构的C++代码实现。
输入两个正整数,输出两个正整数的和
- 输入文件包括两行。 第一行包括一个正整数,保证位数不超过1000000。 第一行包括一个正整数,保证位数不超过1000000。 输出文件包括一行。 第一行包括一个正整数。 1.请使用链表答题,否则代码分给0分。 2.请存储下来两个正整数的和,否则代码分给0分。
单链表
- 1、设有两个无头结点的单链表,头指针分别为ha,hb,链中有数据域data,链域next,两链表的数据都按递增序存放,现要求将hb表归到ha表中,且归并后ha仍递增序,归并中ha表中已有的数据若hb中也有,则hb中的数据不归并到ha中,hb的链表在算法中不允许破坏。
doublelink
- 使用java语言实现双向链表,提供测试用例说明功能(realize doublelinkedlist, providing test cases)
DSA_CPP
- 使用C++实现向量,链表,二叉树类,对应有相应的测试(Using C++ implementation vector, linked list, two fork tree class, corresponding to the corresponding test)
reverse circular list
- 不断输入数字串,构建循环链表,并将其倒置后输出(reverse circular list)
20163311_李颖__16计科2班_数据结构与算法实验2
- 数据结构链表的8个实验,约瑟夫环,一元稀疏多项式计算器,将元素X插入到链表中的适当位置,删除链表中所有大于mink且小于maxk的元素,就地逆置,删除线性表A中同时出现在表B和表C中的结点,构造三个循环链表,长整数的四则运算(8 experiments, data structure of Joseph ring, one dollar sparse polynomial calculator, the X element into the appropriate location in the
数据结构课设小题线性表的链式存储
- 链表是一种物理存储单元上非连续、非顺序的存储结构,数据元素的逻辑顺序是通过链表中的指针链接次序实现的。链表由一系列结点(链表中每一个元素称为结点)组成,结点可以在运行时动态生成。每个结点包括两个部分:一个是存储数据元素的数据域,另一个是存储下一个结点地址的指针域。(Linked list is a discontinuous and non sequential storage structure on physical storage unit. The logical order of da
删除多余结点。合并链表
- 合并链表,删除多余节点,数据结构中的单链表应用(Merge the list, delete the excess node)
研讨1
- 用c++实现静态链表,两个链都有头结点的情况,实现添加、删除元素(To implement a static list with c++, two chains have a head node)
list
- 封装了通用的C语言链表,使用的时候可以直接调用(It encapsulates the common C language linked list, which can be called directly when used.)
链表
- 链表实验报告帮助新手了解链表,学会链表的简单应用(Chain table experimental reports help novice to understand the list and learn the simple application of the list)
链表
- 现有的两种非递减有序表LA,LB,合并为非递减有序表LC(There are two existing non decrement ordered table LA, LB, from which all data are obtained by non decrement ordered table LC)
Exercise1
- 使用C语言实现了异质链表,能够使得链表中传入的数据不局限于同一种类型(Using the C language to implement the heterogeneous linked list, it can make the data from the linked list not limited to the same type)
dblink_list
- 使用C语言,构成双向链表,实现双向链表的增删改查功能(C language is used to form a two-way linked list, so as to realize the function of adding and deletions and changing functions of two-way linked list.)
字符串插入块链实现
- 输入一串字符串,程序自动分割成8个一串的块链。整个程序通过链表实现,还可实现插入字符串功能。(Input a string of characters, the program is automatically divided into 8 string blocks. The whole program is implemented through linked list, and the function of inserting string is also realized.)
数据结构书中代码演示
- 数据结构书中代码完整演示,包括链表,二叉树,图,查找,排序算法等(A complete demonstration of the code in the data structure book, including linked list, binary tree, graph, search, sorting algorithm, etc.)
单链表(修正版)
- 创建单链表,可以以此为一个简单的模版进行套用(Create a single chain table)
数据结构-链表学习
- 单向链表、从尾到头打印链表、链表中倒数第K个节点、反转链表、合并两个排序的链表,两个链表的第一个公共节点,链表中环的入口节点、判断链表是否是回文结构,删除链表中重复节点,删除链表中相邻重复节点、复杂链表、复杂链表的复制
判断链表是否为回文序列
- 采用C语言编写,实现输入一个链表,判断链表元素是否为回文序列。采用C语言编写,实现输入一个链表,判断链表元素是否为回文序列。