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 in level
Pop node
Add left child to queue if exists
Add right child to queue if exists
Repeat for next level
End when queue empty
Return collected left 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 seen as part of the left side view.