搜索资源列表
datastructure
- 数据结构二叉树实验报告,包括 (1)创建二叉树 (2)递归算法先序遍历二叉树 (3)非递归算法中序遍历二叉树 (4)递归算法后序遍历二叉树 (5)求二叉树叶子结点个数 (6)按层次遍历二叉树 (7)求二叉树树深 -A binary tree data structure, experimental report, including (1) Create a binary tree (2) recursive algorithm for preorder trav
structure
- 数据结构二叉树实现代码:功能如下: (1)创建二叉树 (2)递归算法先序遍历二叉树 (3)非递归算法中序遍历二叉树 (4)递归算法后序遍历二叉树 (5)求二叉树叶子结点个数 (6)按层次遍历二叉树 (7)求二叉树树深 -A binary tree data structure to achieve the code: Function is as follows: (1) Create a binary tree (2) recursive alg
TreeOperation
- 数据结构树的操作,包括输入二叉树用广义表表示的字符串,前序,中序,后序,按层遍历,查找树中元素,还有树的深度-Tree data structure operations, including input binary string representation of generalized table, pre-order, in order, the order, according to the layer through to find the tree of elements, as
IntroductionToAlgorithm
- 算法导论 经典中的经典 找了很久才找到 内容我就不深入介绍了 大家自己看吧 不需要账号直接下载-Introduction to the classic algorithm to find the classic for a long time to find the contents of my depth not introduce himself and see the U.S. do not need to account direct download
sjjg
- Josephu问题,一元多项式的相加问题,模拟停车场管理问题,线性表的逆置算法,合并有序表,遍历二叉树(递归算法),求二叉树的节点数、叶子数和深度(递归算法),交换二叉树的左右孩子,有序表的折半查找,按递减次序输出二叉树中大于X的各元素的值,按递减次序输出二叉树中小于X的各元素的值,整理关键字使负值在前,冒泡排序-Josephu problem, the sum of one dollar polynomial problem, the issue of car park management
TreeDepth
- 通过遍历二叉树,求二叉树的深度 使用是先输入各节点的数据,再得出二叉树的深度-By traversing a binary tree, find the depth of use is the first binary input data on each node, and then arrive at the depth of binary tree
generallist
- 求广义表的深度 利用数组传值,建立单链表并将其初始化。 利用递归求出每个子表的深度,进而求出广义表的深度。 先看两个表的深度是否相同,若相同,对表A中的每个元素i,扫描表B中的每个元素,对与i深度相同的元素j,再将i中的每个元素与j中的每个元素进行比较。(运用递归算法)-Seeking a broad depth of the table The use of an array passed by value, establish a single list of its in
Binary_Tree
- 根据二叉树的抽象数据类型的定义,使用二叉链表实现一个二叉树。 二叉树的基本功能: 1、二叉树的建立 2、前序遍历二叉树 3、中序遍历二叉树 4、后序遍历二叉树 5、按层序遍历二叉树 6、求二叉树的深度 7、求指定结点到根的路径 8、二叉树的销毁 -According to the abstract data type binary definition, use two forks to implement a binary tree
bianli
- 二叉树的遍历,先序建立二叉树结构,包括前序、中序、后序遍历的递归和非递归遍历,求二叉树的深度。-Binary tree traversal, binary tree structure, the establishment of the first order, including the former order, in order, after traversing the recursive and non recursive traversal, find the depth of a
erchashubianli
- 实现二叉树的建立和先、中、后序遍历二叉树以及求二叉树深度的功能。-To achieve the establishment and the first binary tree, during, and after traversing a binary tree and binary tree find the depth of functionality.
exp6
- 合肥工业大学数据结构试验六图结构试验 包括完整的实验要求、实验预习报告、实验最终报告 实验要求: <1>求给定图中的边(或弧)的数目。 <2>求解出从给定顶点到所有顶点的最短路径(以边数计算)。 <3>判断一个有向图g是否是一棵有向树。(任意一个顶点可能是根) <4>对给定的图G及出发点v0,设计算法从V0出发深度遍历图G,并构造出相应的生成树。 -Hefei University of testing six graph
tree
- 二叉树的各种运算的实现,文本文档,包括求深度、结点个数、遍历以及查找结点等。-Binary tree implementation of the various operations, including seeking depth, the number of nodes, traverse and to find other nodes.
huisufa
- 回溯法是一个既带有系统性又带有跳跃性的搜索算法,它在问题的解空间树中按深度优先策略,从根节点出发搜索解空间树。回溯法求问题的所有解时,要回溯到根,且根节点的所有子树都已被搜索遍才结束。回溯法求问题的一个解时,只要搜索到问题的一个解就可以结束。使用回溯法解决n皇后问题时,用完全二叉树表示解空间,用n元组x[1:n]表示,其中x[i]表示皇后i放在棋盘的第i行的第x[i]列,根据规则任何2个皇后不放在同一行或同一列或同一斜线上,则可以得到等式关系,由此可以进行解决问题。-Backtracking
tree
- 树操作大全(源码),包括树的四种遍历方式,前序遍历、中序遍历、后续遍历、层序遍历,求树深-Tree operations Daquan (source), including the four tree traversal, preorder traversal, inorder traversal, the follow-up traversal, traversal sequence, find the tree depth
bin_tree
- 二叉树的前序,中序,后序遍历,和求其的深度小程序-Pre-order binary tree, in order, the order of traversal, and find the depth of its small program
Lying-data-structure9
- 《大话数据结构》主要内容包含:数据结构介绍、算法推导大O阶的方法;顺序结构与链式结构差异、栈与队列的应用;串的朴素模式匹配、KMP模式匹配算法;二叉树前中后序遍历、赫夫曼树及应用;图的深度、广度遍历;最小生成树两种算法、最短路径两种算法;拓扑排序与关键路径算法;折半查找、插值查找、斐波那契查找等静态查找;稠密索引、分块索引、倒排索引等索引技术;冒泡、选择、插入等简单排序;希尔、堆、归并、快速等改进排序-" Westward the data structure," the m
Bitree
- 二叉树的建立,与递归遍历,并求其深度-The establishment of a binary tree, and recursively traverse and find its depth
12.7
- 设计一个算法,按照深度优先遍历的思想找出从指定结点出发,长度为M的所有简单路径。并将此算法用于邻接表类,在邻接表类中定义一个共有成员函数find(start, m)。-In adjlink to class with negative right value realization monosource shortest path function. Design an algorithm, according to traverse the depth first thoughts from
An-In-Depth-Look-into-the-Win32
- 你可能想知道为什么要关注可执行文件的格式。答案永远是:操作系统的可执行文件格式和数据结构展现了操作系统内部许多信息。通过理解 EXE和 DLL 的内部情况,你会发现你已经变成你周围一个更优秀的程序员。 -You may want to know why the attention to executable file format. The answer is always: operating system executable file format and data structu
Maze-depth-first-algorithm
- 迷宫深度优先算法,深度优先是按照一定的顺序查找完一个分支,再查找另外一个分支,直到找到目标为止。-Depth first is according to certain order to find a branch, then find another branch, until find the target.
