2017年9月2日

leetcode--114. Flatten Binary Tree to Linked List

摘要: 1、问题描述 Given a binary tree, flatten it to a linked list in-place. For example,Given The flattened tree should look like: Hints: If you notice carefull 阅读全文

posted @ 2017-09-02 00:53 Shihu 阅读(165) 评论(0) 推荐(0) 编辑

leetcode--124. Binary Tree Maximum Path Sum

摘要: 1、问题描述 Given a binary tree, find the maximum path sum. For this problem, a path is defined as any sequence of nodes from some starting node to any nod 阅读全文

posted @ 2017-09-02 00:04 Shihu 阅读(153) 评论(0) 推荐(0) 编辑

导航