Concept Flow - Check if Binary Tree is Balanced
Start at root node
Check left subtree height
Check right subtree height
Compare heights difference <= 1?
Yes No
Check left balanced?
Check right balanced?
Return true if both balanced
The process checks heights of left and right subtrees at each node, ensuring difference is at most 1 and both subtrees are balanced.