Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 404 Bytes

File metadata and controls

39 lines (27 loc) · 404 Bytes

189.Find Bottom Left Tree Value

Description

Given a binary tree, find the leftmost value in the last row of the tree.

Example1

Input:

    2
   / \
  1   3

Output:
1

Example

Input:

        1
       / \
      2   3
     /   / \
    4   5   6
       /
      7

Output:
7

From

LeetCode