程序员面试模拟试卷14
试卷名称:程序员面试模拟试卷14
输出该树的深度3。
二元树的结点定义如下:
struct SBinaryTreeNode // a node of the binary tree
{
int m_nValue; // value of node
SBinaryTreeNode *m_pLeft; // left child of node
SBinaryTreeNode *m_pRight; // right child of node
};
您可能感兴趣的题目
相关试卷
程序员面试模拟试卷14
程序员面试模拟试卷13
程序员面试模拟试卷12
程序员面试模拟试卷11
程序员面试模拟试卷10
程序员面试模拟试卷9
程序员面试模拟试卷8
程序员面试模拟试卷7
程序员面试模拟试卷6
程序员面试模拟试卷5
程序员面试模拟试卷4
程序员面试模拟试卷3
程序员面试模拟试卷2
程序员面试模拟试卷1