Binary Tree Right Side View

Prereq: BFS on Tree

Given a binary tree, return the rightmost node of each level.

Try it yourself