Tagged Questions
3
votes
1answer
156 views
My first python graph traversal review
I'm trying to solve a graph traversal problem I found, and was wondering how I could improve my implementation. Currently it seems a little convoluted and long.
The problem is as follows:
I have a ...
2
votes
1answer
99 views
Evaluating longest path
Here is a program which keeps track of the longest path in a graph. I think it can be written much better.
from Tkinter import *
'''
This program tries to compute the longest path (largest number of
...