登录
首页 » 算法 » 对任意给定的二叉树(顶点数自定)建立它的二叉链表存贮结构,并利用栈的五种基本运算(置空栈、进栈、出栈、取栈顶元素、判栈空)实现二叉树的先序、中序、后序三种周游,

对任意给定的二叉树(顶点数自定)建立它的二叉链表存贮结构,并利用栈的五种基本运算(置空栈、进栈、出栈、取栈顶元素、判栈空)实现二叉树的先序、中序、后序三种周游,

于 2022-01-26 发布 文件大小:4.11 kB
0 257
下载积分: 2 下载次数: 1

代码说明:

对任意给定的二叉树(顶点数自定)建立它的二叉链表存贮结构,并利用栈的五种基本运算(置空栈、进栈、出栈、取栈顶元素、判栈空)实现二叉树的先序、中序、后序三种周游,输出三种周游的结果。- To wilfully assigns two forks the tree (to go against points from to decide) establishes it two to fork the chain table storage structure, and (sets at spatial stack after the stack five kind of fundamental operations, enters stack, sends out of the warehouse, takes stack top element, sentences stack to be spatial) realizes two forks the tree first the foreword, center the foreword, the foreword three kinds travels around, outputs the result which three kinds travels around.

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

发表评论

0 个回复

  • 求串的长度算法的实现
    求串的长度算法的实现-Series for the length of the algorithm to achieve
    2022-08-12 09:11:08下载
    积分:1
  • performance estimation of LDPC codes over BEC
    本文研究了LDPC码在二进制擦除信道上的有限长性能;http://arxiv.org/abs/1309.7102
    2022-01-21 02:07:35下载
    积分:1
  • 空间八节点实体单元的有限元三维计算程序,通用性较好
    空间八节点实体单元的有限元三维计算程序,通用性较好-Eight-node solid element space of three-dimensional finite element program, GM is better
    2022-02-13 10:47:23下载
    积分:1
  • 算两个整数相除,可以算到小数点后无穷位.用的是数组.可以看一下...
    算两个整数相除,可以算到小数点后无穷位.用的是数组.可以看一下-count two integer eliminate, to be counted after the decimal point infinite spaces. Use the array. Can look at the
    2022-08-19 06:02:58下载
    积分:1
  • 一个对称三对角矩阵特征值计算
    computes the eigenvalues of a symmetric tridiagonal * matrix T. The user may ask for all eigenvalues, all eigenvalues in the half-open interval (VL, VU], or the IL-th through IU-th eigenvalues.-computes the eigenvalues of a symmetric tr idiagonal* matrix T. The user may ask for all eig envalues. all eigenvalues in the half-open interval (VL. VU], or the IL-th through IU-th eigenvalues.
    2022-03-19 01:45:05下载
    积分:1
  • 数字下变频DDC的设计verilog
    数字下变频DDC的设计verilog 源代码,经过实际验证。通过查表法获得cos,sin的值,ROM cos.v, Sin.v dds数字频率直接产生,进行数字下变频。并且有vhdl的源代码;值得做射频基带的 人员参考,需要一定的软件无线电方面的知识。
    2022-01-26 00:33:32下载
    积分:1
  • 基于时空上下文的追踪利用vs和opencv
    应用背景主要应用于目标的跟踪,在跟踪上我们主要利用时间的序列,而忽略了空间的利用,本文就是来讨论空间在跟踪过程中的对目标跟踪的作用,通过计算目标的空间背景特性来改善目标跟踪过程中的丢失遮挡问题,从而得到良好的跟踪结果。关键技术关键技术就是通过计算目标空间的特性,并在下一帧中找到目标的空间特性,来进行追踪,这样就可以很好的解决目标的遮挡提高目标的鲁棒性,利用追踪,这段代码还不完善,希望大家可以再次改进。
    2023-05-27 11:35:03下载
    积分:1
  • 大学里必学的一门课程,数值分析的一个必做的程序,雅可必插值...
    大学里必学的一门课程,数值分析的一个必做的程序,雅可必插值-universities will learn a curriculum, a numerical analysis of the process will do, the latter can certainly interpolation.
    2022-07-19 15:24:19下载
    积分:1
  • 购物商场中模拟排队的程序
    购物商场中模拟排队的程序-Program which simulates shopping queues
    2022-11-15 23:40:02下载
    积分:1
  • FFT procedure
    快速FFT算法的程序-FFT procedure
    2023-01-03 01:55:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载