bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths
EasyTreesLC 110

Balanced Binary Tree

Given a binary tree, determine if it is height-balanced.

Asked at 10 companies
AdobeAmazonApple
Hints
  • 1.Think about what data structure fits Balanced Binary Tree
  • 2.Consider the brute force complexity and how to optimize
  • 3.Can you trade space for time?
LeetCodeNeetCode