05 2015 档案
摘要:原题Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the dep...
阅读全文
摘要:1 #include 2 using namespace std; 3 4 struct TreeNode 5 { 6 char data; 7 int heigth; 8 TreeNode* rchild; 9 TreeNode* lchil...
阅读全文

浙公网安备 33010602011771号