2019年3月25日

337. House Robber III(间隔遍历)

摘要: The thief has found himself a new place for his thievery again. There is only one entrance to this area, called the "root." Besides the root, each hou 阅读全文

posted @ 2019-03-25 17:18 shaer 阅读(89) 评论(0) 推荐(0) 编辑

687. Longest Univalue Path(相同节点值的最大路径长度)

摘要: 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 the roo 阅读全文

posted @ 2019-03-25 17:05 shaer 阅读(161) 评论(0) 推荐(0) 编辑

导航