Web Crawler

Problem overview from a real Anthropic interview:

You are given: A starting URL startUrl An interface HtmlParser that can fetch all URLs from a given web page Implement a web crawler that returns all URLs reachable from startUrl that share the same hostname as startUrl.

Check more interview questions and experiences about Anthropic

Please log in to view interview details