求二叉樹的高度/銷燬一顆二叉樹

int HeightOfBinatyTree1(BinaryTreeNode* pRoot) //二叉樹的高度 { if (pRoot == NULL) return 0; int m = HeightOfBinatyTree1(pRoot->_pLeft); int n = HeightOfBinatyTree1(pRoot->_pRight);
相關文章
相關標籤/搜索