Concept Flow - Maximum Width of Binary Tree
Start at root node
Initialize queue with (node, index=0)
While queue not empty
For each level: get size
Track first and last index in level
Calculate width = last - first + 1
Update max width if current width is larger
Add children to queue with updated indices
Repeat for next level
Return max width found
We traverse the tree level by level, tracking node positions to find the widest level.
