Concept Flow - Left Side View of Binary Tree
Start at root node
Initialize queue with root
While queue not empty
Get number of nodes at current level
For each node at this level
Dequeue node
Enqueue left child if exists
Enqueue right child if exists
Repeat for next level
Return collected left side view nodes
We start from the root and use a queue to traverse the tree level by level. For each level, we record the first node encountered as part of the left side view.