Python DFS BFS

profile[email protected]
Assignment.pdf

1. Your program should be written in Python 2. Write all your own code. Do not use "off the shelf" code from any source. 3. Your program (by default) will read the input from a text file specified by the user. 4. Your program should compile and run on Linux

Assignment shown in attached screenshot below as well as what the .txt file would contain

Text file “graph.txt” looks like below: