Tree: Depth-First Search - Balanced Binary Tree
Consider two approaches to check if a binary tree is balanced:
1) Brute force: compute height separately for each node.
2) Optimized recursion: postorder traversal with early exit returning -1 on imbalance.
When is the brute force approach preferable over the optimized recursion?
