登录
首页 » 数据结构 » 二叉树的遍历实现:

二叉树的遍历实现:

于 2022-07-12 发布 文件大小:1.42 kB
0 126
下载积分: 2 下载次数: 1

代码说明:

对二叉树的遍历的简单实现,作为数据结构的入门程序还是很好的,虽然很简单但是当初我作为初学者想方设法写出这个小程序的时候还是发现了自己理解上的一些盲点。数据结构重在实践,大家多练~一起加油,里面还包含了我最开始写的时候容易犯的一些错误。里面有为实现层次遍历写到的队列结构和为非递归用到的栈的结构。

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

发表评论

0 个回复

  • vb6 database programing sample code
    vb6 database programing sample code
    2022-04-20 00:49:06下载
    积分:1
  • 模糊查询源码,实现简单的库条目查找。
    模糊查询源码,实现简单的数据库条目查找。
    2022-01-26 00:57:19下载
    积分:1
  • 界面美观,功能齐全,连接库,适合初学者
    界面美观,功能齐全,连接数据库,适合初学者-Interface appearance, complete functions, connected databases, suitable for beginners
    2022-02-03 09:15:19下载
    积分:1
  • 一个有趣的算法。。。十分有趣
    一个有趣的算法。。。十分有趣-an interesting algorithm. . . Very interesting
    2022-05-25 23:26:43下载
    积分:1
  • 用c语言设计实现一个用事件驱动的“救护车调度”离散模型,模拟120急救中心响应每个病人的呼救信号统一调度救护车运行的情况。 我们对问题作适当简化,假设:某城市共...
    用c语言设计实现一个用事件驱动的“救护车调度”离散模型,模拟120急救中心响应每个病人的呼救信号统一调度救护车运行的情况。 我们对问题作适当简化,假设:某城市共有m个可能的呼救点(居民小区、工厂、学校、公司、机关、单位等),分布着n所医院(包含在m个点中),有k辆救护车分派在各医院待命,出现呼救病人时,由急救中心统一指派救护车接送至最近的医院救治。救护车完成一次接送任务后即消毒,并回原处继续待命。假定呼救者与急救中心、急救中心与救护车之间的通讯畅通无阻,也不考虑道路交通堵塞的影响。可以用m个顶点的无向网来表示该城市的各地点和道路。时间可以分钟为单位,路段长可表示为救护车行驶化费的分钟数。 这里设m=10,n=3,k=2。并且令消毒时间为2分钟-language used to achieve a design using event-driven "ambulance dispatch" dispersion model to simulate 120 emergency response center each patient"s distress signal unified dispatching ambulances running. We issue the appropriate simplified assumptions : m in a certain city a total of 000 points possible hue (residential quarters, factories, schools, companies, organizations, units, etc.), distributed by the hospital n (m included in the points), k ambulances were deployed in the various hospitals on standby there cries of the patients, from the first-aid center unified ambulance escort assigned to the nearest hospital for treatment. Ambulance completed
    2023-03-26 11:35:03下载
    积分:1
  • SQLite源代码! SQLite源代码!
    SQLite源代码! SQLite源代码!-SQLite source code! SQLite source code! SQLite source code!
    2022-03-24 19:50:15下载
    积分:1
  • 哈夫曼树的c++实现
    实验说明   实验所用英文文本为 /HaffmanfT 下的a.txt文件,原文为: South Korea’s top court ruled on Thursday that Japan’s Mitsubishi Heavy Industries Ltd must compensate 28 South Koreans for their forced labor during World War Two, a ruling that drew an immediate rebuke from Tokyo. The decision echoed the Supreme Court’s landmark verdict last month that ruled in favor of South Koreans seeking compensation from Japan’s Nippon Steel & Sumitomo Metal Corp. for their wartime forced labor. The court upheld a 2013 appeals court decision that Mitsubishi must pay 80 million won ($71,000) to each of the 23 plaintiffs in compensation. In a separate
    2023-04-18 18:05:04下载
    积分:1
  • 霍夫曼编码前缀编码Huffman Coding
    霍夫曼编码前缀编码Huffman Coding-Huffman Codeing
    2022-04-27 08:54:46下载
    积分:1
  • 文件上传与印
    文件上传与印如何上传一个文件,如果要上传图片或文件,您可以使用的代码。文件上传与印如何上传一个文件,如果要上传图片或文件,您可以使用的代码,
    2022-01-30 21:52:09下载
    积分:1
  • 学生学籍管理系统
    一个简单的数据库作业,学生学籍管理系统,使用SQL编写。程序里面包括查询表结构,查询结构,学生学籍管理等一系列结构,并通过C语言编程,编程出了登陆界面。
    2022-01-30 20:40:58下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载