Python DFS BFS

  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 textfile specified by the user.
  4. Your program should compile and run on Linux
  5. Assignment shown in attached screenshot below as well as what the .txt file would contain