tree

所属分类:数据结构
开发工具:Visual C++
文件大小:1262KB
下载次数:4
上传日期:2014-05-07 15:37:06
上 传 者frankstyle520s
说明:  实现二叉树的先序遍历,中序遍历和后序遍历的递归和非递归算法,以及层次遍历的算法。 用二叉树来表示代数表达式,树的每一节点包括一个运算树,代数表达式中包含“+”,“—”,“*”,“/”和一位整数且没有错误,按照先乘除后加减的原则构造二叉树。 构造一颗哈夫曼树,输出对应的哈夫曼编码和平均查找长度。
(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 (4676, 2013-06-01)
tree\1.dsp (3341, 2013-05-30)
tree\1.dsw (510, 2013-05-30)
tree\1.ncb (33792, 2013-05-30)
tree\1.opt (48640, 2013-05-30)
tree\1.plg (723, 2013-05-30)
tree\2.c (2477, 2013-06-02)
tree\2.dsp (3339, 2013-06-02)
tree\2.dsw (510, 2013-06-02)
tree\2.ncb (33792, 2013-06-02)
tree\2.opt (48640, 2013-06-02)
tree\2.plg (924, 2013-06-02)
tree\3.cpp (3244, 2013-06-01)
tree\3.dsp (3341, 2013-06-01)
tree\3.dsw (510, 2013-06-01)
tree\3.ncb (33792, 2013-06-01)
tree\3.opt (48640, 2013-06-01)
tree\3.plg (723, 2013-06-01)
tree\Debug\1.exe (249903, 2013-05-30)
tree\Debug\1.ilk (361068, 2013-05-30)
tree\Debug\1.obj (22167, 2013-05-30)
tree\Debug\1.pch (1997328, 2013-05-30)
tree\Debug\1.pdb (558080, 2013-05-30)
tree\Debug\2.pch (190704, 2013-06-02)
tree\Debug\3.exe (262191, 2013-06-01)
tree\Debug\3.ilk (374860, 2013-06-01)
tree\Debug\3.obj (20217, 2013-06-01)
tree\Debug\3.pch (1997324, 2013-06-01)
tree\Debug\3.pdb (574464, 2013-06-01)
tree\Debug\vc60.idb (74752, 2013-06-02)
tree\Debug\vc60.pdb (102400, 2013-06-02)
tree\Debug (0, 2014-05-07)
tree\exp7-7.cpp (1866, 2013-06-02)
tree\tree.doc (118784, 2014-05-07)
tree (0, 2014-05-07)

近期下载者

相关文件


收藏者