LeetCode
dazhangyu97
补充信息是一件很烦的事情,因为我必须要扯一些文字来说明自己,而实际上我这个人没什么好说的。
展开
-
[LeetCode - tree]687. Longest Univalue Path
687. Longest Univalue PathGiven 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 the root.Note: The length of pat转载 2017-12-02 11:52:51 · 260 阅读 · 0 评论 -
[LeetCode - tree] 662. Maximum Width of Binary Tree
662. Maximum Width of Binary TreeGiven a binary tree, write a function to get the maximum width of the given tree. The width of a tree is the maximum width among all levels. The binary tree has the sam原创 2017-12-02 14:26:16 · 232 阅读 · 0 评论