This commit is contained in:
nonstriater
2014-05-18 21:02:31 +08:00
parent 98ed4336bc
commit 90bf14f6d3
6 changed files with 36 additions and 14 deletions
+2 -1
View File
@@ -47,7 +47,8 @@ BinaryTreeNode *m_pLeft; // left child of node
BinaryTreeNode *m_pRight; // right child of node
};
1. 累加当前节点,
1. 累加当前节点,累加和大于给定值
2. 不为叶节点,左子树入栈