摘要:
#include <iostream>#include <vector>using namespace std;struct BTreeNode{ int value; BTreeNode *lchild; BTreeNode *rchild;};bool IsBalanced(BTreeNode *pRoot, int &height){ if (!pRoot){ height = 0; return true; } int leftHeight = 0; int rightHeight = 0; bool left... 阅读全文
posted @ 2012-12-17 14:11
kkmm
阅读(360)
评论(0)
推荐(0)
浙公网安备 33010602011771号