Concurrent Same-Hostname Web Crawler

Given a starting URL startUrl and an htmlParser, implement a concurrent web crawler.

htmlParser.getUrls(url) returns all accessible URLs linked from url. Starting at startUrl, crawl eve...

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: