搜索资源列表
C程序自动测试程序系统
- C程序自动测试程序系统,主要是测试数据结构中的几个经典算法:关于排序,树的遍历等.-C automatic test procedures, test data is the main structure of classical algorithm : Sort of, such as tree traversal.
非递归遍历一
- 本文用C语言实现了双链表结构树的前中后序非递归遍历-Using C language of the Double Chain structure tree before, during and after non - recursive traversal sequence
hafuman
- 一 . 需求分析: 1) 输入形式和输入值范围: 输入形式是要压缩(或者要解压)的文件路径,输入范围是字符串,而且要是文件的路径。 2) 输出形式: 输出相应的编码压缩文件和解码原文件 3) 程序所能达到的功能: 利用哈夫曼对ASCII文件做不等长编码,达到压缩文件。利用哈夫曼树的遍历,达到解压文件的目的。程序的功能也就是实现压缩和解压ASCII类型文件的目的。 4)测试数据:(包括正确的输入数据及其输出结果和含有错误输入及其输出结果) 测试输
遍历二叉树
- 按层遍历二叉树的算法设计C语言数据结构作业-layer by the binary tree traversal algorithm design C language data structures operations
AVL树实现
- 纯C实现的AVL树,Demo是MFC的。非递归的遍历,完全支持添加、删除和搜索节点。设计灵活,容易扩展。以下是API struct tagAvlTree; typedef struct tagAvlTree AvlTree; struct tagAvlNode; typedef struct tagAvlNode AvlNode; struct tagAvlNode { AvlNode *left; AvlNode *right; int32_t height;
求二叉树前序遍历序列中第k个结点的值
- 求二叉树前序遍历序列中第k个结点的值 c语言程序,已测试
ercs
- 二叉树的遍历,C语言编写的,呵呵,还不错的哦-This is a c program
C
- 本文档容括了C(C++)所有算法,分为数值算法、图论算法、背包算法、排序算法、高精度算法、树的遍历、进制转换、全排列和组合生成、查找算法、贪心、回溯法框架、DFS框架、BFS框架、数据结构相关算法。并有实例源码-This document, including the capacity C (C ) for all algorithms, divided into numerical algorithms, graph theory, algorithm, knapsack algorit
BiTree
- 数据结构中的二叉树的遍历(前序、中序、后序)算法,包括递归和非递归两种实现,另外还实现了层次遍历算法(header文件夹中包含了数据结构的头文件)。-Data structure of binary tree traversal (pre-order, in sequence, after the sequence) algorithm, including recursive and non-recursive two to achieve, in addition to achieving
BinaryTree
- 这是用C语言实现的二叉树的遍历算法,包括递归和非递归算法的实现。-This is to use C language implementation of the binary tree traversal algorithms, including recursive and non-recursive algorithm implementation.
datastruct_example
- 本人讲授数据结构课程时的所写的示例程序,结构清晰规范,有注释,全部可编译运行,包括如下代码: 长整数:ch0_bigint2.c 顺序表的实现:ch2_stable.c 链表的实现ch2_ltable.c 合并两个有序表:ch2_stable_merge.c 表达式计算:ch3_express.c 队列的链式实现:ch3_lqueue.c 栈的链式实现:ch3_lstack.c 迷宫求解:ch3_maze.c 队列的顺序实现:ch3_squeue.c
shujujiegou
- a.HUFFMAN树及HUFFMAN编码 任务:由用户输入n个结点权值,建立HUFFMAN树并输出HUFFMAN编码。 b.二叉树建立及相关算法实现 任务:按照广义表表达法建立二叉树,并实现二叉树的层次、先序、中序与后序遍历,以及输出树中叶子结点的结点值及叶子结点的个数。( 用递归或非递归的方法都可以) 要求能够输入树的各个结点,并能够输出用不同方法遍历的遍历序列;分别建立创建二叉树存储结构的的输入函数、输出层序遍历序列的函数、输出先序遍历序列的函数、输出后序遍历序列的函
Program
- 2叉树的遍历 c#编写。没有上传整个工程。但这个是主要文件-2-ary tree traversal c# write. Did not upload the whole project. But since this is the main document
a3
- 关于二叉树的C语言编程,描述了二叉树的建立以及二叉树的遍历-On the binary tree of C language programming, described the establishment as well as binary tree binary tree traversal
TreeTraverse
- 原创:C#实现数据结构的树的遍历 原创:C#实现数据结构的树的遍历-C# Traverse
tree
- 输入任意树并存储,实现前序、中序、后序遍历(Enter any tree and store, to achieve pre-order, in order, after the sequence traversal)
bintree
- 主要为二叉树的遍历,涉及到前序遍历、中序遍历、后序遍历,以及左右孩子的交换后的遍历(内附c&c++操作手册)(It is mainly used for binary tree.)
0301_treeScan
- 列举了大部分树的遍历方法,包括深度优先遍历,广度优先遍历,morris遍历等(tree scan method, deep first, wide first, morris)
二叉树的四种遍历方式与层序创建
- 本例程实现对于二叉树的四种遍历方式,先序,中序,后序,层序四种遍历(This routine implements four traversing methods for two forked trees, the first order, the middle order, the rear order and the sequence of four ergodicity.)
二叉树遍历操作
- 本代码采用c/c++语言,描述了二叉树的先中后序遍历及深度(This code uses c/c++ language to describe the first and middle traversal traversal and depth of two binary tree.)