Adobe interview question

2. Based on Graphs, where BFS was to be applied.