文件名称:DemoBSTBinaryTree
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2013-09-23
- 文件大小:
- 2.41mb
- 下载次数:
- 0次
- 提 供 者:
- 黄*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
二叉树算法实现
/*
二叉树搜索, 前序: 中左右 中序: 左中右 后序: 左右中
A(4)
+-------+-------+
B(2) C(9)
+--+--+ +-----+-----+
D(1) E(3) F(5)
+--+--+
G(7)
+--+--+
H(6) I(8)
前序: ABDECFGHI 中序: DBEAFHGIC 后序: DEBHIGFCA
*/
-Binary tree algorithm /* binary search, pre-order: the left and right in order: left, right after the sequence: left in the A (4)+-------+-------+ B (2 ) C (9)+-+-++-----+-----+ D (1) E (3) F (5)+-+-+ G (7)+--+-+ H (6) I (8) pre-order: ABDECFGHI inorder: DBEAFHGIC postorder: DEBHIGFCA * /
/*
二叉树搜索, 前序: 中左右 中序: 左中右 后序: 左右中
A(4)
+-------+-------+
B(2) C(9)
+--+--+ +-----+-----+
D(1) E(3) F(5)
+--+--+
G(7)
+--+--+
H(6) I(8)
前序: ABDECFGHI 中序: DBEAFHGIC 后序: DEBHIGFCA
*/
-Binary tree algorithm /* binary search, pre-order: the left and right in order: left, right after the sequence: left in the A (4)+-------+-------+ B (2 ) C (9)+-+-++-----+-----+ D (1) E (3) F (5)+-+-+ G (7)+--+-+ H (6) I (8) pre-order: ABDECFGHI inorder: DBEAFHGIC postorder: DEBHIGFCA * /
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DemoBSTBinaryTree
.................\Debug
.................\.....\DemoBSTBinaryTree.exe
.................\.....\DemoBSTBinaryTree.ilk
.................\.....\DemoBSTBinaryTree.pdb
.................\DemoBSTBinaryTree
.................\DemoBSTBinaryTree.sdf
.................\DemoBSTBinaryTree.sln
.................\DemoBSTBinaryTree.suo
.................\.................\Debug
.................\.................\.....\CL.read.1.tlog
.................\.................\.....\CL.write.1.tlog
.................\.................\.....\DemoBSTBinaryTree.exe.embed.manifest
.................\.................\.....\DemoBSTBinaryTree.exe.embed.manifest.res
.................\.................\.....\DemoBSTBinaryTree.exe.intermediate.manifest
.................\.................\.....\DemoBSTBinaryTree.lastbuildstate
.................\.................\.....\DemoBSTBinaryTree.log
.................\.................\.....\DemoBSTBinaryTree.obj
.................\.................\.....\DemoBSTBinaryTree.pch
.................\.................\.....\DemoBSTBinaryTree_manifest.rc
.................\.................\.....\link-cvtres.read.1.tlog
.................\.................\.....\link-cvtres.write.1.tlog
.................\.................\.....\link.11024-cvtres.read.1.tlog
.................\.................\.....\link.11024-cvtres.write.1.tlog
.................\.................\.....\link.11024.read.1.tlog
.................\.................\.....\link.11024.write.1.tlog
.................\.................\.....\link.read.1.tlog
.................\.................\.....\link.write.1.tlog
.................\.................\.....\mt.read.1.tlog
.................\.................\.....\mt.write.1.tlog
.................\.................\.....\rc.read.1.tlog
.................\.................\.....\rc.write.1.tlog
.................\.................\.....\stdafx.obj
.................\.................\.....\vc100.idb
.................\.................\.....\vc100.pdb
.................\.................\DemoBSTBinaryTree.cpp
.................\.................\DemoBSTBinaryTree.vcxproj
.................\.................\DemoBSTBinaryTree.vcxproj.filters
.................\.................\DemoBSTBinaryTree.vcxproj.user
.................\.................\ReadMe.txt
.................\.................\stdafx.cpp
.................\.................\stdafx.h
.................\.................\targetver.h