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

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

于 2022-01-26 发布 文件大小:4.11 kB
0 220
下载积分: 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 个回复

  • 最邻近点迭代
    点云配准的经典算法,最邻近点迭代,iterative closest point输入为模型与待配准点云,输出为两块点云之间的旋转、平移以及中误差。
    2022-07-23 02:56:03下载
    积分:1
  • 不利用递归实现汗诺塔
    不利用递归实现汗诺塔- Does not use the recursion realization perspiration promise tower
    2022-03-17 09:27:25下载
    积分:1
  • matrix的一些常用操作
    一些常用的矩阵操作,包括常用的矩阵加法,乘法,strassen算法,还有位并行操作预留的算法。包括为wingoth算法预留的矩阵乘法,为了分块矩阵预留的算法等等。
    2022-04-19 02:11:14下载
    积分:1
  • 韩信点兵
    韩信点兵 -----------中国剩余定理-Hanshin Soldiers----------- Chinese Remainder Theorem
    2022-04-12 05:16:03下载
    积分:1
  • 完全使用C++写的高效线性代数运库!还提供了矩阵类。
    完全使用C++写的高效线性代数运算库!还提供了矩阵类。--Highly effective linear algebra operating library which written in C++ completely ! It also provides the matrix class
    2022-03-21 00:10:57下载
    积分:1
  • 关于XBBH用C编写的代码
    关于XBBH用C编写的代码-XBBH spent on the preparation of the C code
    2022-01-31 01:50:14下载
    积分:1
  • 数据结构习题
    数据结构非常经典的练习题,里面有1800道习题,其中有各种算法的习题、还有代码可以练习,可以供学习者学习参考,对于将来工作笔试都有一定的帮助作用。
    2022-12-11 10:10:03下载
    积分:1
  • 邻域搜索
    在这个项目中我们的主要任务是执行引入巴恩斯 et al [1] 的 Patchmatch 算法。该算法只是最近的邻域快速计算是我们第二次的任务提供了同时实施重组算法在 Patchmatch 算法的图像。接下来的几节中我们将的概述如何 Patchmatch 和我们重新洗牌算法作品 (第 2 节),执行问题,包括我们的源代码 (第 3 节),我们的实现产生的结果 (第 4 节) 的简要概述,最后结论 (第 5 节),我们讨论的问题实施期间,进一步可以做的可能改进,当然我们这门课的结论。
    2022-04-10 15:49:53下载
    积分:1
  • BP神经网络的逼近函数源代码 数学建模
    BP神经网络的逼近函数源代码 数学建模-BP neural network approximation function of the source code for mathematical modeling
    2023-01-09 08:40:04下载
    积分:1
  • matrix calculation includes all the header files and can be applied to all the n...
    包含所有矩阵运算的头文件,可以应用在所有需要矩阵运算的VC程序中,-matrix calculation includes all the header files and can be applied to all the needs of the VC matrix calculation procedures,
    2023-04-20 07:35:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载