资源列表
[数据结构常用算法] binary-tree
说明:1.实现二叉树的下列运算: [1]输入一个二叉树的先序序列,生成二叉树的二叉链表 [2]显示其先序、中序和后序遍历结果。 [3]计算二叉树的叶子结点数。 [4]求二叉树的深度 2.编程实现二叉树的层次遍历 3.哈夫曼编码-1.operational binary tree: [1] Enter a first sequence binary tree sequence, generating a binary tree binary list [2] show<王玥天> 在 2025-06-22 上传 | 大小:258kb | 下载:0
[数据结构常用算法] shortest-path
说明:最短路径算法,对于权重图最短路径计算的基本算法-Shortest path algorithm, the basic algorithm for computing the shortest path weight of FIG.<小七2729> 在 2025-06-22 上传 | 大小:1.04mb | 下载:0
[数据结构常用算法] Stack-Problem
说明:栈模拟停车场,以队列模拟车场外的便道,按照从终端读入的输入数据 序列进行模拟管理。对每一组输入数据进行操作后的输出信息为:若是 车辆到达,则输出汽车在停车场内或便道上的停车位置;若是车辆离去, 则输出汽车在停车场内停留的时间和应交纳的费用(在便道上停留的时 间不收费) 。设每单位时间收费 1 元。-Parking Stack simulation to simulate the queue sidewalk outside the car, according to the re<王丹> 在 2025-06-22 上传 | 大小:1.37mb | 下载:0
[数据结构常用算法] Hamilton
说明:一个寻找哈密顿回路的应用实例。幼儿园的老师要为孩子们排座次吃饭,桌子是圆形的,其中有一些孩子应为彼此间有矛盾不能坐在一起,求一种排座方案。该程序即是为解决这一问题而编写的,其中的核心功能就是寻找哈密顿回路。-Looking for a Hamiltonian circuit application examples. Kindergarten teacher for the children to eat row seating, tables are circular, some childr<飘> 在 2025-06-22 上传 | 大小:246kb | 下载:0
[数据结构常用算法] Euler
说明:一个欧拉回路的应用实例。一个农夫要巡视农场,要求每条路都要来回走一遍(即每条路走两遍且两遍的方向不同),求其解决方案。该问题的核心问题就是如何求欧拉回路。-Application examples of a Euler. A farmer to farm inspections required every road should go back and forth again (that is the way to go twice and twice each in a different<飘> 在 2025-06-22 上传 | 大小:245kb | 下载:0
[数据结构常用算法] Calculator
说明:JAVA中的计算器的功能实现,包括两个文件,分别是界面设计和计算功能。-Calculator functions implemented in JAVA, including two files, namely, calculation function and interface design.<wudg> 在 2025-06-22 上传 | 大小:4kb | 下载:0