Google interview question

BFS for multi-child tree structure