Find the deepest node of a binary tree. If multiple nodes are at the deepest level, then return the rightmost node.
Anonymous
it actually just sounds like a BFS, then return the last node you popped - assuming you enqueued left then right.
Check out your Company Bowl for anonymous work chats.