Closed rootaux closed 2 years ago
@codesankalp please review it once
@rootaux it would be better if you add required test cases too
@devkapilbansal updated as you requested and I have also added a test. The test is written for the following undirected and directed graphs.
Closing this PR, Since contributor is inactive Thanks
Description
I have implemented BFS and DFS graph traversals method in Python 3. Both methods return a list which gives the path followed by the algorithm.
Related Issue
Please don't create a Pull request without creating an issue first
Fixes #24
Type of Change:
Code/Quality Assurance Only
Motivation and Context
How Has This Been Tested?
I have tested the programs with some manual inputs. I have yet to write the test file.
Checklist:
Screenshots (if appropriate):