Hello, here's a snippet of the code to give you an idea of what i'm doing here. The function is suppoed to:
*return the starting node that gives a longest DFS run before running out of budget
*if there are multiple nodes with the same DFS run length, return the smallest node