说明:这是一个已经通过调试成功的二叉树算法程序,希望对大家有帮助。-This is a success has been through the debugging process tree algorithm, and they hope to help everyone. <景秀> 在 2025-05-01 上传
| 大小:4kb | 下载:0
说明:多项式的加法 用链接表实现两个多项式的相加 输出结果多项式-Polynomials adder table with links to the achievement of the two combined output polynomial polynomial <江紫桉> 在 2025-05-01 上传
| 大小:1kb | 下载:0
说明:假设自上而下按层次,自左至右输入每个结点的一个三元组(N, P, L/R)。其中N为本结点的元素,P为其父结点,L指示N为P 的左孩子,R指示N为P的右孩子。试写一个建立二元树在内存的双链表示算法,并实现先根、中根、后根以及层序遍历算法。-Assuming top-down by the level of input from left to right each node of a triple (N, P, L/R). One N- <江紫桉> 在 2025-05-01 上传
| 大小:1kb | 下载:0
说明:采用邻接矩阵实现有向网的存储,建立有向网,并实现单源最短路径算法。-The realization of the use of adjacency matrix to the network storage, the establishment of the network, and to achieve single-source shortest path algorithm. <江紫桉> 在 2025-05-01 上传
| 大小:1kb | 下载:0
说明:设计一个由甲、乙双方参赛,有裁判的3人乒乓球游戏机-Design of an A, B or both sides participating, there are 3 referee s table tennis game <李萧> 在 2025-05-01 上传
| 大小:2kb | 下载:0
说明:稀疏矩阵运算器 以“带行逻辑链接信息”的三元组顺序表表示稀疏矩阵-Sparse Matrix calculator to line with the logic of the link information triple sequence tables that sparse matrix <milk> 在 2025-05-01 上传
| 大小:2kb | 下载:0
说明:背包问题的回溯法,用回溯法解决背包问题,区别于其他算法
-Knapsack Problem retrospective method, with backtracking to solve knapsack problem, different from the other algorithms <张仁春> 在 2025-05-01 上传
| 大小:1kb | 下载:0
说明:最优分解问题的贪心算法,使用输入与输出文件来控制程序的输入与输出-Optimal decomposition of the problem greedy algorithm, the use of input and output file to control the process input and output <张仁春> 在 2025-05-01 上传
| 大小:1kb | 下载:0
说明:1、 本演示程序实现对二叉树的先序、中序、后序三种遍历。
2、 二叉树的元素为所有字符集合。
3、 演示程序以人机对话方式执行,即在计算机终端上显示“请输入二叉树”下,用户可由键盘输入待遍历的二叉树(a-z 或A-Z)。每次测试完毕,终端显示按三种遍历字母的顺序。
-1, the demonstration program of the first sequence of binary tree, in order, aft <小张> 在 2025-05-01 上传
| 大小:1kb | 下载:0