Sponsored
Use these hints if you're stuck. Try solving on your own first.
How many nodes can you visit within maxTime seconds?
Can you try every valid path?
Solve with full IDE support and test cases