摘要:
Given a binary tree, find the length of the longest consecutive sequence path. The path refers to any sequence of nodes from some starting node to any 阅读全文
posted @ 2020-01-05 11:15
xuan_abc
阅读(91)
评论(0)
推荐(0)
摘要:
Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level). For example:Given binary tree [3 阅读全文
posted @ 2020-01-05 10:45
xuan_abc
阅读(142)
评论(0)
推荐(0)
摘要:
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root). For 阅读全文
posted @ 2020-01-05 07:38
xuan_abc
阅读(169)
评论(0)
推荐(0)
摘要:
Given a binary tree, find the leftmost value in the last row of the tree. Example 1: Input: 2 / \ 1 3 Output: 1 Example 2: Input: 1 / \ 2 3 / / \ 4 5 阅读全文
posted @ 2020-01-05 06:31
xuan_abc
阅读(130)
评论(0)
推荐(0)

浙公网安备 33010602011771号