Open beginnerCS opened 4 years ago
In your GraphSearch class, it seems that every method had a visited() list. You can likely condense your code by making the visited list a part of the GraphSearch class.
In your GraphSearch class, it seems that every method had a visited() list. You can likely condense your code by making the visited list a part of the GraphSearch class.