Recalling Early Days GP with Trees

  • + 1 comment

    File "linkedList.py", line 32, in find_path
    newpath = find_path(graph, node, end, path)
    File "linkedList.py", line 26, in find_path
    if start == end:
    RecursionError: maximum recursion depth exceeded in comparison
    cat: write error: Broken pipe

    how to overcome this issue. I am using recursion to find path between i and j. i can increase max recursion depth by using sys.setrecursionlimit(limit). But it will also not going to work (timeout issue)