文件名称:tree
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2014-05-07
- 文件大小:
- 1.23mb
- 下载次数:
- 0次
- 提 供 者:
- 余**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
实现二叉树的先序遍历,中序遍历和后序遍历的递归和非递归算法,以及层次遍历的算法。
用二叉树来表示代数表达式,树的每一节点包括一个运算树,代数表达式中包含“+”,“—”,“*”,“/”和一位整数且没有错误,按照先乘除后加减的原则构造二叉树。
构造一颗哈夫曼树,输出对应的哈夫曼编码和平均查找长度。-Recursive and non-recursive algorithm binary tree preorder, preorder and post-order traversal, and the level traversal algorithms. Binary Tree is represented by algebraic expressions, each node of the tree, including an operational tree algebraic expression contains " +" , " -" , " *" , " /" , and an integer without error, according to the first multiplication and division principles of construction of binary addition and subtraction. Construct a Huffman tree, the output of the corresponding Huffman coding and the average length.
用二叉树来表示代数表达式,树的每一节点包括一个运算树,代数表达式中包含“+”,“—”,“*”,“/”和一位整数且没有错误,按照先乘除后加减的原则构造二叉树。
构造一颗哈夫曼树,输出对应的哈夫曼编码和平均查找长度。-Recursive and non-recursive algorithm binary tree preorder, preorder and post-order traversal, and the level traversal algorithms. Binary Tree is represented by algebraic expressions, each node of the tree, including an operational tree algebraic expression contains " +" , " -" , " *" , " /" , and an integer without error, according to the first multiplication and division principles of construction of binary addition and subtraction. Construct a Huffman tree, the output of the corresponding Huffman coding and the average length.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
tree\1.cpp
....\1.dsp
....\1.dsw
....\1.ncb
....\1.opt
....\1.plg
....\2.c
....\2.dsp
....\2.dsw
....\2.ncb
....\2.opt
....\2.plg
....\3.cpp
....\3.dsp
....\3.dsw
....\3.ncb
....\3.opt
....\3.plg
....\Debug\1.exe
....\.....\1.ilk
....\.....\1.obj
....\.....\1.pch
....\.....\1.pdb
....\.....\2.pch
....\.....\3.exe
....\.....\3.ilk
....\.....\3.obj
....\.....\3.pch
....\.....\3.pdb
....\.....\vc60.idb
....\.....\vc60.pdb
....\Debug
....\exp7-7.cpp
....\tree.doc
tree