Meta interview question

Reading input from file BFS/DFS Basic Graph problems