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

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

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

  • mie散射中的散射系数,an,bn,cn,dn 在研究粒子散射问题时很关键...
    计算mie散射中的散射系数,an,bn,cn,dn 在研究粒子散射问题时很关键-Mie scattering in calculating the scattering coefficient, an, bn, cn, dn in the study of particle scattering problem is critical
    2022-03-13 23:49:58下载
    积分:1
  • Vc中关于FFT的编程
    Vc中关于FFT算法的编程-Vc on the FFT algorithm programming
    2022-02-15 01:32:16下载
    积分:1
  • 求解非线性方程。调用格式x=fmincon(fun,x0,A,b,Aeq,beq,VLB,VUB)
    求解非线性方程。调用格式x=fmincon(fun,x0,A,b,Aeq,beq,VLB,VUB)-For solving nonlinear equations. Call the format x = fmincon (fun, x0, A, b, Aeq, beq, VLB, VUB)
    2022-05-18 12:48:14下载
    积分:1
  • 线性规划
    免费的线性规划算法,可解决有等式约束和不等式约束的线性规划问题,优化变量的个数无限制,运行速度非常快,使用的是单纯形法。线性规划是一门研究如何使用最少的人力、物力和财力去最优地完成科学研究、工业设计、经济管理中实际问题的专门学科.主要在以下两类问题中得到应用:一是在人力、物力、财务等资源一定的条件下,如何使用它们来完成最多的任务;二是给一项任务,如何合理安排和规划,能以最少的人力、物力、资金等资源来完成该项任务
    2022-05-27 21:43:07下载
    积分:1
  • loki 程序库
    loki 程序库-loki library
    2022-07-26 04:02:17下载
    积分:1
  • massive mimo Fundamentals, Opportunities and Challenges
    应用背景Massive multiuser MIMO (MISO): ◮ M ≫ K ≫ 1 (think 100 × 10 or 500 × 50) ◮ coherent, but simple, processing ◮ Potential to dramatically improve rate & reliability ◮ Potential to drastically scale down TX power ◮ Not only theory, at least one known testbed (64× ∼10) 关键技术 Massive MIMO Operation Not enough resources for pilots & CSI feedback, so operate in TDD. ◮ On the uplink, ◮ acquire CSI from uplink pilots and/or blindly from data ◮ detect symbols ◮ M ≫ K ⇒ linear processing (MRC, ZF, MMSE) nearly optimal ◮ On the downlink, ◮ use CSI obtained on the uplink ◮ make necessary adjustments based on reciprocity calibration ◮ apply multiuser MIMO precoding ◮ simple precoders desirable (and very good!): MRT, ZF, MMSE, ... ◮ MRC/MRT operation ◮ intracell interference will appear as
    2022-07-07 16:58:08下载
    积分:1
  • 近似熵的快速 matlab
    计算时间序列的近似熵,英文为Approximate entropy此程序可以较为快速的计算出序列的近似熵。
    2022-07-15 03:33:26下载
    积分:1
  • 设计集锦设计集锦.rar
    设计集锦设计集锦.rar-Design Collection Design Collection. Rar
    2022-01-23 10:41:17下载
    积分:1
  • 单片机能实现的FFT。128点快速傅氏变换
    单片机能实现的FFT算法。128点快速傅氏变换-Single-chip to realize the FFT algorithm. 128-point fast Fourier transform
    2022-02-10 16:19:05下载
    积分:1
  • 保存计过程的计
    随着计算机技术的飞速发展,人们已经不能满足于采用人工进行大量的计算,计算器快速的计算速度和稳定的准确率很好的满足了用户的需要,保存计算过程的计算器更是能够让用户随时随地的查找以前的计算过程。保存计算过程的计算器正是在这样的市场需求之下研发的,目的旨在帮助用户快速准确的得到计算结果。掌握Java语言编程的基础知识并能熟练运用,熟悉类声明与对象的使用,理解委托时间处理模型,了解Java语言的图形用户界面的设计知识,运用JCreator编写简单计算器程序,并实现其
    2022-08-24 05:48:54下载
    积分:1
  • 696518资源总数
  • 105739会员总数
  • 1今日下载