bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths
MediumTreesLC 513

Find Bottom Left Tree Value

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

Asked at 2 companies
BloombergMicrosoft
Hints
  • 1.Think about which data structure fits best
  • 2.Consider the time complexity of your approach
  • 3.Look for patterns in the constraints
LeetCode