Meta Interview Question

BFS on binary tree with some twist