Implement a Bounded Concurrent Web Crawler

Implement a Bounded Concurrent Web Crawler

Given a starting URL startUrl and two system-provided functions:

  • fetch(url) -> str: fetches the page content for a URL;
  • `parse(html) -> list[str...

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: