← Questions

Concurrent same-host web crawler

0
AnthropicGoogleSnowflakeCodingLast asked Oct 2026

A coding interview question asked in Anthropic's coding round and at Snowflake and Google, last asked Oct 2026. It tests concurrency, bfs and graphs.

Implement a web crawler that finds every page reachable from a start URL on the same host, and fetches pages concurrently. You are given a blocking helper: Start with a single-threaded version, then make it concurrent with at most…

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Anthropic · Coding · Last asked Oct 202655 min · Live coding on a realistic, multi-part problem, a different one from the screen · No AI
  • Snowflake · Two coding screens · Last asked Jul 202660 min · Two back-to-back live coding rounds, often on the same day; some loops pair coding with system design · Varies: some screens forbid AI, some 2026 screens allow it. The scheduling email says.
  • Google · First round: coding · Last asked Dec 202545 min · Coding in a Google Doc, no syntax highlighting or autocomplete · No AI

What it tests

concurrency · bfs · graphs · threading

Your code and the AI tutor open when you unlock this question.