Concept Flow - Right Side View of Binary Tree
Start at root node
Traverse level by level
At each level, visit nodes left to right
Record the last node visited at this level
Add recorded node to right side view list
Move to next level
Repeat until all levels visited
Return right side view list
We visit the tree level by level, from left to right, and record the last node at each level to get the right side view.
