Web Crawler with a Concurrent Follow-up

You are given a pre-implemented, thread-safe interface:

interface WebCrawler {
    List<String> fetchAndParse(String url);
}

fetchAndParse(url) fetches and parses one web page and retu...

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: