搜索资源列表
erchashu
- 建立二叉树,统计二叉树中度为2的结点个数和叶子结点个数( 用递归或非递归的方法都可以,先序、中序或后序均可)-establish binary tree, Statistics for the two binary tree to moderate the number of nodes and the number of nodes leaves (with the recursive and non - recursive method can be first order, After t
datastructure
- 编写一个算法,输出一个二叉树的所有叶子结点,并统计叶子结点个数