Connect nodes at the same level in a binary tree
Anonymous
2 Queues, one for current, one for parents....had little time, like 5 minutes to solve it so I did not put much into it, just came up with a working solution
Check out your Company Bowl for anonymous work chats.