Web Crawler Minimum Click Count

Given a start page startUrl and a target page targetUrl, you may call:

get_all_links(url) -> list of URLs clickable from the current page

Each followed link counts as one click. Retu...

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: