Sponsored
Use these hints if you're stuck. Try solving on your own first.
Use DFS/BFS to search start from the startURL. Remember to get rid of duplicate URLs.
Solve with full IDE support and test cases