Wiki Hopper: Crawl All Reachable Pages

Wiki Hopper: Crawl All Reachable Pages

You are given a directed graph of web pages. Each page contains links to other pages. Given a starting page start, return every distinct page that can ...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: