搜索资源列表
list 创建链表,遍历一次输出
- 创建链表,遍历一次输出,然后分字母,数字,其他字符分别创建链表,分别输出。-Create a linked list, traversing one output, and then sub-letters, numbers, other characters were created linked list, respectively, output.
CirHDoublyLinkedList 用C++编写的头结点的循环双链表操作
- 用C++编写的头结点的循环双链表操作,含头文件和源文件。-Written in C++ node of the first cycle of double-linked list operations, including the header files and source files.
设A与B分别为两个带有头结点的有序循环链表
- 设A与B分别为两个带有头结点的有序循环链表(所谓有序是指链接点按数据域值大小链接,本题不妨设按数据域值从小到大排列),list1和list2分别为指向两个链表的指针。请写出将这两个链表合并为一个带头结点的有序循环链表的算法,Set up A and B respectively with the first two nodes in an orderly circulation list (so-called orderly means the link click data link thre
include.rar
- 1. 输入字符序列,建立二叉链表。 2. 中序遍历二叉树:递归算法。 3. 中序遍历二叉树:非递归算法。 4. 求二叉树的高度。 5. 球二叉树的叶子个数。 6. 将二叉链表视为森林的孩子兄弟链表,计算森林中叶子个数。 7. 建立中序线索二叉树,并实现中序遍历。 8. 借助队列实现线索二叉树的层次遍历。 ,tree
反向输出一个链表,连接两个链表
- 包括反向输出一个链表,连接两个链表。以及一些例子。,Including the reverse output of a linked list, connecting the two lists. As well as some examples.
A0_001 链表编程
- N只猴子要选大王,所有猴子按1,2,3...M报数,凡报到M的退出圈外,如此循环,直到圈内只剩一只,就是大王了. 分析:建立一个环形链表,每个猴子就是链表中的一个结点,那么猴子出圈就是对环形链表中的结点的删除,只到最后剩下的一个结点为止.-N monkeys to elect king, all the monkeys reported by a number 1,2,3 ... M, where M to report the withdrawal of outsiders, a
bak
- 数据结构中链表算法的PPT,包括伪代码和基本原理,内容很详细-Data structure linked list algorithm PPT, including pseudo-code and the basic principles of the content in detail
lian
- 链表操作,包括创建,销毁,定位元素,插入,删除,判空,显示-List operations, including create, find, and merging
link_quicksort
- 链表的快速排序法-List`s quick sort
利用尾插法建立一个双向链表
- 1. 利用尾插法建立一个双向链表,并遍历双向链表。 2. 实现双向链表中删除一个指定元素。 3. 在非递减有序双向链表中实现插入元素e仍有序算法。 4. 判断双向链表中元素是否对称,若对称返回1,否则返回0。 5. 设元素为正整型,实现算法所有奇数排列在偶数之前。 6. 在主函数中设计一个简单的菜单调试上述算法。 -table
dxxhlb
- 已知有一个单向循环链表,其每一个结点中含三个域:pre,data和next,其中data为数据域,next为指向后继结点的指针域,pre也为指针域,但它的值为空(NULL),试编写算法将此单向循环链表改为双向循环链表,即使pre成为指向前驱结点的指针域。-Known to have a one-way circulation list, which each node contains three domains: pre, data and next, in which data for th
list
- 程序实现了带表头单链表的最基本操作,包括创建链表,查询数值,插入结点,删除结点,链表分解,将单链表变为循环链表。并附有详细的注释和实验报告。-Procedures to achieve a single-list header with the most basic operation, including the creation of list, query value, insert node, delete node, chain decomposition, into a single
以二叉链表作存储结构
- 以二叉链表作存储结构,编写一个算法将二叉树左、右子树进行交换的算法。-Write an algorithm to binary trees left and right subtree exchange algorithm for binary list storage structure.
mergesort
- 两个链表情况下的排序-Sort under two list circumstance
linked3
- 链表的bubble,insertion, selection排序法-Bubble,insertion, selection sort of list
dynsarray
- 本代码提供对动态数组的支持,在内存中程序将数据分块存放,避免了大块内存的申请。同时,与普通的双向链表不同,本代码提供了对内部数据的快速索引,大大提高了数据访问速度-The code provides for dynamic array support program in memory data block storage, to avoid the large memory applications. At the same time, with ordinary two-way differ
单向链表排序
- 数据结构的课后练习-Data structure of the after-school practice
register
- 一个作业题:链表的建立,查找。-An operating title: the establishment list to find.
通讯录.txt
- 这是一个很简单的C语言程序,有链表编的。-This is a very simple C language program, a series of the Chain.
lianbiao
- 链表,实现创建一个链表,删除一个结点,合并两个链表,打印,排序等功能-List to achieve the creation of a list, delete a node, a merger of the two linked lists, printing, sorting and other functions