Created
August 10, 2021 23:20
-
-
Save VXU1230/5153051111848571712f28df0b3c8413 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if __name__ == "__main__": | |
print("\nBFS") | |
print("\nshortest depth: ", bfs()) | |
print("\nDFS") | |
print("\nshortest depth: ", dfs()) | |
print("\nIDDFS", end="") | |
print("\nshortest depth: ", iddfs()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment