Anthropic logo

Anthropic Interview Question Bank

Anthropic runs an unusually small, transparent technical question bank — the recruiter typically names which prompt family you'll see days before the round, so candidates can target preparation precisely instead of guessing. Bars are calibrated for problem-solving velocity and follow-up depth rather than novelty; offers are decided by hiring committee + reference check, and the culture round on AI-safety alignment is the single most common rejection point even for candidates who clear every technical stage.

More
59
Before you start
Showing 35 of 35
Coding·55 min
HighFree preview

Coding Q1 — Concurrent Web Crawler

Implement a same-domain web crawler given a pre-supplied `htmlParser.getUrls(url)` helper. Starts as a single-threaded BFS; the bulk of the round is the follow-up to parallelize it (threads, processes, or async) and reason about scaling across machines.

SWE
MLE
Infra Eng
concurrency
threading
async
bfs
+2
13 related discussions

OJ Problems

practice in the online judge
59 total
Find Duplicate Files in a File SystemFind All Possible Recipes from Given SuppliesFind Duplicate Files by ContentFind Duplicate Files by ContentFix Bootloader Program by Swapping One Instruction to Avoid LoopDNS Solver Implementation (Round 1)Debug / Fix an Extremely Randomized Trees (ExtraTrees) Implementation in NumPyTask Management System (CRUD + Priority Ordering + User Quota + History Query)Thread-Safe Linked List Task Queue TransformationHigh-Concurrency Prompt Template Deduplication (Array + Hash Map)LLM-Oriented String Processing (Technical Phone Screen)Implement an LRU CacheIn-Memory Database with Backup and RestoreBasic SQL Exercise + Learning/Skill-Growth DiscussionPython Data Analysis on a Provided Dataset (Capacity Management Context)Implement a UI From a Figma Mock in React + TypeScriptImplement an LRU Cache (HashMap + Doubly Linked List) and Debug an Existing ImplementationImplement a Weighted Data Batcher with Deterministic Save/Resume (DataRegistry Iterator Interface)Image Processing Pipeline (Grayscale / Scale / Resize) with Performance OptimizationFind and Deduplicate Duplicate Files (by size and by content hash)Single-thread Web Crawler, then Multi-threaded CrawlerFile Deduplication (find duplicate files)Web Crawler (single-threaded first, then concurrent)Debug an LRU Cache Implementation + Persistence After Crash (Follow-ups)Implement a Same-Domain Web Crawler with Deduplication (Sync + Async Follow-up)Design a Data Batcher (Code & Design)Debug three RL training bugs and discuss GRPO trade-offs and variantsTask Management System (4-part OA)VO Q2 (Unclear: File Deduplication or LRU Cache)Multithreaded Web Crawler (Thread-Safe)

Anthropic Featured Guides