LeetCode | 687. Longest Univalue Path DFS
Given a binary tree, find the length of the longestpath where each node in the path has the same value. This path may or may notpass through the root.Note: Thelength of path between two nodes is repre...
原创
2018-03-07 18:52:57 ·
226 阅读 ·
0 评论