登录
首页 » 数据结构 » 主要是二叉树的一些性质的操作。包括复制,清空,求取树高,树中元素的个数,得到根结点,父亲结点,所有祖先,左儿子,右儿子,插入左儿子,右儿子,查找某个元素,以及前...

主要是二叉树的一些性质的操作。包括复制,清空,求取树高,树中元素的个数,得到根结点,父亲结点,所有祖先,左儿子,右儿子,插入左儿子,右儿子,查找某个元素,以及前...

于 2022-11-05 发布 文件大小:9.94 kB
0 178
下载积分: 2 下载次数: 1

代码说明:

主要是二叉树的一些性质的操作。包括复制,清空,求取树高,树中元素的个数,得到根结点,父亲结点,所有祖先,左儿子,右儿子,插入左儿子,右儿子,查找某个元素,以及前、中、后、层次遍历和相关的操作。另外,可以树形显示这棵树的信息。-Some properties are mainly binary operation. Including reproduction, empty, to strike a tree height, the number of elements in the tree get root node, the father node, all the ancestors, the left son, right son, insert the left son, right son, to find an element, and the former , during and after, hierarchical traversal and related operations. In addition, you can display tree tree information.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 编程 实现的插入
    数据结构编程 实现数的插入-data structure programming several of the insert, etc.
    2022-12-21 23:25:03下载
    积分:1
  • PB对象连接与嵌入
    PB对象连接与嵌入-PB Object Linking and Embedding
    2022-06-28 21:09:13下载
    积分:1
  • 几个常见的算法,为c语言编写,在VC6.0环境下编写。
    几个常见的算法,为c语言编写,在VC6.0环境下编写。-Several common algorithms, for the c language, in the preparation of VC6.0 environment.
    2022-02-05 14:07:13下载
    积分:1
  • 学生成绩管理系统
    用C++编写控制台程序,实现学生成绩管理系统,对学生信息的增删改查等操作。使用链表等数据结构,基于控制台实现。
    2022-03-23 10:24:32下载
    积分:1
  • Labview将写到txt文件中
    本程序用Labview可将需要的数据写入到数据库中,方便可行,适合初学labview和数据库的人使用。
    2022-03-06 06:22:21下载
    积分:1
  • 图论中典型的搜索算法――Dijkstra最小路径
    图论中典型的搜索算法――Dijkstra最小路径-Graph Theory typical search algorithm- Dijkstra minimum path
    2022-02-16 09:24:10下载
    积分:1
  • binary tree first sequence, sequence after sequence, layer by traversal algorith...
    二叉树的先序,中序,后序,按层遍历算法。以中序输入,用‘#’代替叶子节点的子节点输入。-binary tree first sequence, sequence after sequence, layer by traversal algorithm. The order to import, use "#" instead of the leaf nodes for input nodes.
    2022-12-12 20:15:03下载
    积分:1
  • 所有的学统计知识的源代码,这里是一个学…
    所有数理统计知识的源代码都在此,是一本数理统计数的配套光盘.里面有各种分布类型及参数估计插值-all mathematical statistical knowledge of the source code here is a mathematical statistical matching CD. There are various types and the distribution parameter estimation interpolation, etc.
    2022-11-27 05:05:04下载
    积分:1
  • 题目:设计一个题目,演示用算符优先法对算术表达式求值的过程。 概要设计 1、顺序扫描中缀算术表达式,当读到字时直接将其送至输出队列中; 2、当读到...
    题目:设计一个题目,演示用算符优先法对算术表达式求值的过程。 概要设计 1、顺序扫描中缀算术表达式,当读到数字时直接将其送至输出队列中; 2、当读到运算符时,将栈中所有优先级高于或等于该运算符弹出,送至输出队列中,再将当前运算符入栈; 3、当读入左括号时,即入栈; 4、当读到右括号时,将靠近栈顶的第一个左括号上面的运算符全部一次弹出,送至输出队列中,再删除栈中的左括号。 5、使用VS栈来存储读入的操作和运算结果,然后进行数字字符到数值的转换。 -Title: Design of a topic, presentation operator priority method with arithmetic expression evaluation process. Summary of design 1, the order of scanning arithmetic infix expressions, when they read numbers directly to the output queue 2, when they read operator, it will stack all priority higher than or equal to the operator pop-up , sent to the output queue, and then the current operator入栈 3, when read left brackets, that is, when入栈 4, when they read the right brackets, it will be near the Top-left of the first operator in brackets above All a pop-up, sent to the output queue, and then delete stacks of left brackets. 5, the use of VS stack to store read operation and computing the results of numeric characters and then proceed to the numerical co
    2022-03-18 20:45:34下载
    积分:1
  • 高级复制维护注意点
    高级复制维护注意点- High-level duplication maintenance limelight
    2022-07-14 21:48:20下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载