
广搜
文章平均质量分 75
sscssz
这个作者很懒,什么都没留下…
展开
-
【LeetCode】513. Find Bottom Left Tree Value【M】【73】
Given a binary tree, find the leftmost value in the last row of the tree.Example 1:Input: 2 / \ 1 3Output:1Example 2: Input: 1 / \ 2 3原创 2017-02-18 13:19:05 · 984 阅读 · 0 评论 -
【LeetCode】515. Find Largest Value in Each Tree Row【E】【87】
You need to find the largest value in each row of a binary tree.Example:Input: 1 / \ 3 2 / \ \ 5 3 9 Output: [1, 3, 9]Subsc原创 2017-02-19 18:37:01 · 1305 阅读 · 0 评论 -
【LeetCode】126. Word Ladder II【H】
Given two words (beginWord and endWord), and a dictionary's word list, find all shortest transformation sequence(s) from beginWord to endWord, such that:Only one letter can be changed at a timeEac原创 2017-04-02 14:23:26 · 874 阅读 · 0 评论