bfs, graph, greedy

Level D