Google interview question

Meeting Rooms II, BFS DFS