登录
首页 » 数据结构 » 二叉树的先序遍历,使用栈实现(构造空栈,初始化栈)

二叉树的先序遍历,使用栈实现(构造空栈,初始化栈)

于 2022-06-30 发布 文件大小:10.69 kB
0 240
下载积分: 2 下载次数: 1

代码说明:

二叉树的先序遍历,使用栈实现(构造空栈,初始化栈)-The first order binary tree traversal, use the stack to achieve (tectonic empty stack, initialize the stack)

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

发表评论

0 个回复

  • 图论算法,旅行推销员问题,很有趣。 可算出图中的哈米尔顿回路...
    图论算法,旅行推销员问题,很有趣。 可算出图中的哈米尔顿回路-graph algorithm, traveling salesman problem, very interesting. Map can be calculated totally dominated the circuit
    2022-01-25 19:16:27下载
    积分:1
  • 数据库源代码,用来创建一个数据库,是做一个燃气系统的.
    数据库源代码,用来创建一个数据库,是做一个燃气系统的.-Database source code, used to create a database, is a gas system.
    2022-02-05 20:41:58下载
    积分:1
  • data structure, the topological sorting and topological sorting algorithm used t...
    数据结构里的拓扑排序和非拓扑排序算法,用vc6.0编写-data structure, the topological sorting and topological sorting algorithm used to prepare vc6.0
    2023-06-09 08:00:03下载
    积分:1
  • 简单介绍了一种数据结构的构建及其使用情况,
    简单介绍了一种数据结构的构建及其使用情况,-introduces a simple data structure of the building and its use,
    2022-08-23 17:56:57下载
    积分:1
  • 数据库管理系统
    这是一个数据库管理系统项目使用 java 服务器 page(JSP) 语言是非常有利于谁搜索数据库管理系统项目。
    2023-07-31 20:00:04下载
    积分:1
  • 有关aql中存储过程的内容
    有关aql中存储过程的内容-store the contents of the course
    2022-03-06 05:42:51下载
    积分:1
  • 小型数据库源代码较多,请耐心审阅勿用于商业交易,一经发现后果自负...
    小型数据库源代码较多,请耐心审阅勿用于商业交易,一经发现后果自负-small database source code more, not patience scrutiny for commercial transactions, the one found responsible for any consequences! !
    2022-06-12 22:29:41下载
    积分:1
  • 门到门蔬菜服务
    门到门蔬菜服务程序的人可以订购从他们的家的蔬菜和蔬菜将 蔬菜店到他们的家。这个项目是蔬菜销售者可以管理他们的 库存
    2022-02-02 13:01:59下载
    积分:1
  • jsp网上选课系统
    本系统是简易的网上选课系统,包括学生的选课查成绩、教师打分以及管理员的一些后台操作。本系统是基于jsp环境下进行设计的,学习运用JSP 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-04-18 14:07:33下载
    积分:1
  • [问题描述] 将N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N...
    [问题描述] 将N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N) [输入] 待排序记录个数,各关键字的值。 [输出] 关键字从正负分开,正数在前 [存储结构] 待排序记录顺序存储。 [算法的基本思想] 快速排序算法每次任取一个记录的关键字为标准,将其余记录分为两组将,N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前。 #include using namespace std #define MAXNUM 100//设文件的最长可能长度 void sort(int* keys, const int len)//排序 -[Problem Description] N keyword to the integer sequence the entire record. keyword so that all non-negative Records with the keyword for the negative record, at least require the use of the additional space and time complexity of the algorithm is O (N) [imported] to be sort record number, The value of the keyword. [Output] keyword separate from the pluses and minuses are several former [storage structure] scheduling records to be stored sequence. [Algorithm for the basic idea] quick sort algorithm each time a record for any keyword as a standard, The remaining records will be divided into two groups, N-keyword
    2022-03-17 21:15:57下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载