Fmars Blog
Inner happiness comes from self-sacrifice
My Blog List
Tree
If the depth of the tree are involved, attention should be paid to distinguish the edge condition is
p==NULL
p->left==NULL && p->right==NULL
see also
Leetcode Balanced Binary Tree
Minimum Path of Binary Tree
No comments:
Post a Comment
Enter you comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Enter you comment