二叉搜索树C++代码

上传者: lmx2014001 | 上传时间: 2021-06-14 15:02:11 | 文件大小: 2.22MB | 文件类型: RAR
本文主要讨论二叉搜索树的基本性质以及基本操作,并用C++代码实现,每个成员操作以成员函数的形式出现,并附有适当的说明。 包括: 普通二叉树的遍历(先序,中序,后序,分层),二叉搜索树的建立,插值,删值,求前驱,求后继,求size,求最大节点,最小节点

文件下载

资源详情

[{"title":"( 38 个子文件 2.22MB ) 二叉搜索树C++代码","children":[{"title":"sortTree","children":[{"title":".vs","children":[{"title":"ConsoleApplication3","children":[{"title":"v14","children":[{"title":".suo <span style='color:#111;'> 31.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"ConsoleApplication3.sln <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"ConsoleApplication3.VC.db <span style='color:#111;'> 11.69MB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"ConsoleApplication3.pdb <span style='color:#111;'> 1.13MB </span>","children":null,"spread":false},{"title":"tree0729v2.pdb <span style='color:#111;'> 1.39MB </span>","children":null,"spread":false},{"title":"遍历递归.txt <span style='color:#111;'> 4.02KB </span>","children":null,"spread":false},{"title":"ConsoleApplication3.exe <span style='color:#111;'> 81.00KB </span>","children":null,"spread":false},{"title":"tree0729v2.exe <span style='color:#111;'> 86.00KB </span>","children":null,"spread":false},{"title":"ConsoleApplication3.ilk <span style='color:#111;'> 509.06KB </span>","children":null,"spread":false},{"title":"tree0729v2.ilk <span style='color:#111;'> 589.64KB </span>","children":null,"spread":false}],"spread":true},{"title":"ConsoleApplication3","children":[{"title":"node.cpp <span style='color:#111;'> 417B </span>","children":null,"spread":false},{"title":"Node.h <span style='color:#111;'> 159B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 626B </span>","children":null,"spread":false},{"title":"BinTree.h <span style='color:#111;'> 504B </span>","children":null,"spread":false},{"title":"tree.cpp <span style='color:#111;'> 3.72KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"tree.obj <span style='color:#111;'> 220.61KB </span>","children":null,"spread":false},{"title":"node.obj <span style='color:#111;'> 33.70KB </span>","children":null,"spread":false},{"title":"vc140.pdb <span style='color:#111;'> 396.00KB </span>","children":null,"spread":false},{"title":"ConsoleA.7E63BBFE.tlog","children":[{"title":"ConsoleApplication3.lastbuildstate <span style='color:#111;'> 210B </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 29.83KB </span>","children":null,"spread":false},{"title":"CL.command.1.tlog <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 930B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 3.18KB </span>","children":null,"spread":false}],"spread":false},{"title":"tree0729v2.tlog","children":[{"title":"CL.write.1.tlog <span style='color:#111;'> 4.37KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 29.83KB </span>","children":null,"spread":false},{"title":"CL.command.1.tlog <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"tree0729v2.lastbuildstate <span style='color:#111;'> 210B </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 876B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 3.18KB </span>","children":null,"spread":false}],"spread":false},{"title":"main.obj <span style='color:#111;'> 49.41KB </span>","children":null,"spread":false},{"title":"vc140.idb <span style='color:#111;'> 443.00KB </span>","children":null,"spread":false},{"title":"ConsoleApplication3.log <span style='color:#111;'> 388B </span>","children":null,"spread":false}],"spread":true},{"title":"ConsoleApplication3.vcxproj <span style='color:#111;'> 7.52KB </span>","children":null,"spread":false},{"title":"ConsoleApplication3.vcxproj.filters <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"readme.txt <span style='color:#111;'> 34B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • qq_43631621 :
    写得很不错,挺有用
    2019-12-24

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明