登录
首页 » 算法 » 二叉树的遍历

二叉树的遍历

于 2022-05-06 发布 文件大小:1.38 kB
0 179
下载积分: 2 下载次数: 1

代码说明:

二叉树的多种遍历方法(递归、非递归)1、新建二叉树、插入树节点。2、前序遍历、后序遍历、中序遍历、层序遍历。3、递归及非递归实现两种方法。4、使用C++5、树节点中最大值、最小值。

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

发表评论

0 个回复

  • DTMF(Dual Tone Multi Frequency)Recognition Algorithm
           Dual Tone Multi Frequencies (DTMF tones) are two different tones at two ends of a spectrum that are used to send information in telephonic communication mediums. The tones represent numbers 0-9 and the symbols * and #. A series of these numbers may be assigned to individuals as points of contact, as in a phone number, or the numbers can be used to relay other sorts of information.       While it may seem confusing, it should be noted that all numbers on a telephone are assigned two DTMF tones, and in all, seven different frequencies are assigned. Some numbers will have the same lower frequency, but different higher frequency, while others will have the same higher frequency but a different lower frequency. The range is between 697 Hz and 941 Hz for the lower frequencies and 1209 Hz and 1633 Hz for
    2022-06-16 09:51:22下载
    积分:1
  • JPHide 和JPSeek 的源代码
    应用背景JPHide 和JPSeek 的源代码!JPHide&JPSeek是一个JPEG图像的信息隐藏软件!-JPHide and JPSeek source code! JPHide & JPSeek is a JPEG image information hidden software!关键技术JPHIDE and JPSEEK are programs which allow you to hide a file in a jpeg visual image. There are lots of versions of similar programs available on the internet but JPHIDE and JPSEEK are rather special. The design objective was not simply to hide a file but rather to do this in such a way that it is impossible to prove that the host file contains a hidden file. Given a typical visual image, a low insertion rate (under 5%) and the absence of the original file, it is not possible to conclude with any worthwhile certainty that the host file contains inserted data. As the insertion percentage increases the statistical nature of the jpeg coefficients differs from "normal" to the extent that it raises suspicion. Above 15% the e
    2022-07-21 14:22:36下载
    积分:1
  • 1 bp algorithm, but there may be some code warning
    一个bp算法,不过代码可能会有一些warning-1 bp algorithm, but there may be some code warning
    2022-10-01 22:50:03下载
    积分:1
  • 输入小孩总数n,从第k个小孩开始,循环的步长m。输出:最先输出的是第一个胜利者,其次为第二个,最后为第N个胜利者。...
    输入小孩总数n,从第k个小孩开始,循环的步长m。输出:最先输出的是第一个胜利者,其次为第二个,最后为第N个胜利者。-Enter the total number of children n, from the first k-child start the cycle of steps m. Output: The first output is the first winner, followed by the second, and finally for the first N winner.
    2022-03-31 03:48:50下载
    积分:1
  • err
    离散事件系统仿真程序CPU_scheduler说明: 1.仿真功能与要求: 1.1 单CPU系统,系统有10个终端输入任务,如果一个任务的执行时间大于规定的时间片,则该任务执行一个时间片之后退出CPU,并重新参加排队,直到执行完退出CPU,然后才允许相应终端重新输入一个新的作业。任务排队的原则是在CPU中执行次数越少的越排在前面,如果两个任务执行的次数相同,按照FIFO原则排队。 1.2 每个终端输入任务的时间满足均值为25秒的指数分布。每个任务需要CPU执行的时间满足均值为0.8秒的随机指数分布。CPU的时间片长度为0.1秒,任务间切换需要0.015秒任务的个数为1000时终止仿真,计算每个任务的平均相应时间和队列中的平均任务个数。-err
    2022-05-19 12:35:23下载
    积分:1
  • 凸多边形的最小权分割
    资源描述最小权三角剖分问题是求最小总边长三角网的问题。这是一个多边形,输入或输入点集后必须细分为三角形,满足边缘到边缘和顶点到顶点,以这样的方式来减少三角形的周长的总和。
    2022-08-12 12:31:55下载
    积分:1
  • 多目标粒子群
    多目标粒子群算法,matlab 多目标粒子群算法,matlab 多目标粒子群算法,matlab 多目标粒子群算法,matlab 多目标粒子群算法,matlab
    2022-12-24 20:25:04下载
    积分:1
  • 卫星单点定位
    里面有关于如何读取卫星星历文件。其中包括读取卫星头文件,接收机的信息,接收机的近似坐标,卫星的编码信息及卫星的颗数等一系列的信息。其中还包括根据这些信息而求得的接收机的精确位置。
    2022-06-15 23:26:51下载
    积分:1
  • 列句25宫的所有组合。 每行,每列,和对角线 数字和为25。
    列句25宫的所有组合。 每行,每列,和对角线 数字和为25。-sentence of 25 out of all the combinations Palace. Each line, each and diagonal figures and 25.
    2022-01-26 18:25:40下载
    积分:1
  • 这感觉显示了如何使用Hopfield网络
    This fiel shows how to use Hopfield networks
    2023-07-25 22:15:03下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载