We’re preparing your current view and syncing the latest data.
You are given a graph with n nodes (0 to n-1) and edges where each node has a value. The graph is undirected and weighted by travel time. You start at node 0 and can travel edges with a total travel time at most maxTime. The quality of a path is the sum of the values of the unique nodes visited in that path. Return the maximum path quality of any path starting and ending at node 0 within the given maxTime.
Integer representing the maximum path quality achievable