DFS, BFS and applications in Python { algorithms, bfs, dfs, graphs, python } // 07.08.2015