摘要: [抄题]: You need to construct a string consists of parenthesis and integers from a binary tree with the preorder traversing way. The null node needs to 阅读全文
posted @ 2018-03-16 22:33 苗妙苗 阅读(143) 评论(0) 推荐(0)
摘要: [抄题]: Given a binary tree, find the length of the longest path where each node in the path has the same value. This path may or may not pass through t 阅读全文
posted @ 2018-03-16 18:30 苗妙苗 阅读(193) 评论(0) 推荐(0)
摘要: [抄题]: Given a Binary Search Tree and a target number, return true if there exist two elements in the BST such that their sum is equal to the given tar 阅读全文
posted @ 2018-03-16 15:03 苗妙苗 阅读(176) 评论(0) 推荐(0)