-
二叉树的递归算法:计算高度、结点个数、交换左右儿子
问题的描述
写一完整函数,计算树的结点数目int CountNode(BTNode<T>...
二叉树的递归算法:计算高度、结点个数、交换左右儿子
问题的描述
写一完整函数,计算树的结点数目int CountNode(BTNode* &t);
完善以下两个函数:
计算树的高度int Depth(BTNode* &root);
对树的所有子树交换左右孩子void swapsons(BTNode* &t);-Binary Tree Recursive Algorithm: Calculate the height of node number, the exchange about the issue of his son to write a complete description of function, calculating the number of tree node int CountNode (BTNode
- 2022-02-12 18:10:20下载
- 积分:1
-
这是一个Matlab程序计算PSD也绘制一个图来说明这些…
it is a program in matlab to calculate psd and it also plot a graph to show these
- 2023-03-20 17:50:03下载
- 积分:1
-
traceroute程序代码
还是有一些小不足,但基本框架在此,大家可以参考参考。有改进,我会更新的~
- 2022-05-22 00:57:50下载
- 积分:1
-
TreeCtrl控件示例
TreeCtrl控件示例-TreeCtrl Control Example
- 2023-08-31 23:25:08下载
- 积分:1
-
这是一个可以实现一个任意矩阵的行和列的快速转换的小程序,大家请指教...
这是一个可以实现一个任意矩阵的行和列的快速转换的小程序,大家请指教-can achieve an arbitrary matrix of rows and columns of small rapid conversion process, please enlighten
- 2022-02-12 01:00:11下载
- 积分:1
-
CAD 矢量作图 完整C++ 源代码,完成 VS2008工程打包
CAD 矢量作图 完整C++ 源代码,完成 VS2008工程打包
对学习矢量作图,AUtoCAD等实现方法等 学习源代码。。
- 2023-04-06 01:30:04下载
- 积分:1
-
AD single
AD系列单片机控制的A/D转换器,并把结果在液晶显示出来-AD single-chip A/D converters, and the results are displayed in the LCD
- 2023-05-29 10:10:04下载
- 积分:1
-
基于凌阳61板的公交车语音自动报站器,用于十堰地区5路车站线路语音自动报站名等...
基于凌阳61板的公交车语音自动报站器,用于十堰地区5路车站线路语音自动报站名等-Based on Sunplus 61 plate automatic voice bus stop, for Shiyan area 5 Station Road, voice automatically stop lines, etc.
- 2023-07-18 16:25:04下载
- 积分:1
-
实现图像加柔效果
实现图像加柔效果-increase Sophie Image effects
- 2022-01-25 18:11:15下载
- 积分:1
-
一个使用MS VC++ 6.0编写的一个画笔程序实用程序,能实现画笔的基本功能,具有完整的工程,可以运行。...
一个使用MS VC++ 6.0编写的一个画笔程序实用程序,能实现画笔的基本功能,具有完整的工程,可以运行。-a 6.0 MS VC prepared by a brush procedures utility, able to brush the basic functions with complete projects can run.
- 2022-02-07 10:21:14下载
- 积分:1