Solution: Balanced Binary Tree
Let's solve the Balanced Binary Tree problem using the Tree Depth-first Search pattern.
Statement
Given a binary tree with nodes, return TRUE if it is
Note: The height of an empty tree is .
Constraints:
Let's solve the Balanced Binary Tree problem using the Tree Depth-first Search pattern.
Given a binary tree with nodes, return TRUE if it is
Note: The height of an empty tree is .
Constraints: