资源列表
[数据结构常用算法] queue
说明:队列,用顺序或链式结构实现一个队列,采用二叉链表存储结构,用递归方式建立二叉树对 应的二叉链表,并建立队列实现该二叉树的层次遍历序列的输出。 -Queue, with the sequence or chain structure to achieve a queue, using the binary storage structure list, using a recursive approach to building a binary tree corresponding to<古哩峰> 在 2025-07-01 上传 | 大小:1kb | 下载:0
[数据结构常用算法] two-waylinkedlist
说明:双向链表,双向链表存储方式的实现及特点;双向链式存储结构的定义及基本运算;双向链表的创建、插入、删除和显示表中元素等基本操作 -A two-way linked list, doubly linked lists stored in achieving and characteristics two-way chain storage structure, the definition and basic operations two-way linked list creation,<古哩峰> 在 2025-07-01 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Orderform
说明:顺序表,顺序存储方式的实现及特点;顺序表的创建、插入、删除和显示表中元素等基本操作。顺序存储结构的定义及基本运算; -Order form, the order of the realization and characteristics of stored order of the table creation, insert, delete, and display the basic operation of the elements in the table. Sequential<古哩峰> 在 2025-07-01 上传 | 大小:1kb | 下载:0
[数据结构常用算法] ThreadedBinaryTree
说明:线索二叉树,二叉树的中序线索化方法。建立二叉树对应的二叉链表,先将该二叉树线索化,然后用非栈非递归方式输出该二叉树的中序序列。采用二叉链表存储结构,用递归方式 -Threaded Binary Tree, inorder threaded binary tree method. The establishment of the corresponding binary tree binary list, the first clue of the binary tree, and then<古哩峰 > 在 2025-07-01 上传 | 大小:1kb | 下载:0
[数据结构常用算法] ABinaryTreeAndBinaryList
说明:二叉树与二叉链表,采用二叉链表存储结构,用递归方式建立二叉树对应的二叉链表,并分别用递归和非递归两种方式实现该二叉树的前序、中序及后序序列的输出 -A binary tree and binary list, using the binary storage structure list, using a recursive approach to building a binary tree corresponding to the binary list, and were used r<古哩峰 > 在 2025-07-01 上传 | 大小:1kb | 下载:0
[数据结构常用算法] migongwenti
说明:迷宫问题。以一个 m*n的长方阵表示迷宫,0和1分别表示迷宫中的通路和障碍。设计一个程序,对任意设定的迷宫,求出一条从入口到出口的通路,或得出没有通路的结论 起点就是方阵中的(1,1)终点就是(m-1,n-1) -Maze. With an m* n matrix, said the long labyrinth of 0 and 1, respectively, the maze of paths and obstacles. Designing a program, for any se<随风而去> 在 2025-07-01 上传 | 大小:1kb | 下载:0
[数据结构常用算法] dongtaiguihuabeibaowenti
说明:这是关于01背包问题的动态规划算法。采用C++语言完成的,代码间有注释。-This is about 01 knapsack problem dynamic programming algorithm. Using C++ language completed, there are comments between the code.<zhenhong> 在 2025-07-01 上传 | 大小:1kb | 下载:0
[数据结构常用算法] eliminarunnodo
说明:Delete a node from a tr-Delete a node from a tree...<Pato!> 在 2025-07-01 上传 | 大小:1kb | 下载:0
[数据结构常用算法] NQueenSubset
说明:N皇后的排列树与子集数算法!里面是Cpp的源代码 带注释-N Queen subset of the arrangement of trees and the number of algorithms!<zhaohui> 在 2025-07-01 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Huffman
说明:用vc++实现用最短路径查找哈弗曼树。n个权值构成n棵二叉树的集合F={T1, T2, …, Tn},其中每棵二叉树Ti中只有一个带树为Ti的根结点。-Achieved with the vc++ to find the shortest path tree Havermann. n-weight constitutes a collection of n binary trees F = (T1, T2, ..., Tn), which is only a Ti binary Each spe<liangsi> 在 2025-07-01 上传 | 大小:1kb | 下载:0
[数据结构常用算法] ShortestPath
说明:从始点v0开始,逐步求v0到其它可达的各顶点的最短路径,直到所有顶点计算完成为止。-Starting from the starting point v0, v0 to other stepwise up to the shortest path to each vertex, until all vertex calculations are completed.<liangsi> 在 2025-07-01 上传 | 大小:1kb | 下载:0