Debug a Byte-Pair Encoding Tokenizer (Fellow Program)
Debug the provided byte-level Byte-Pair Encoding tokenizer so it no longer crashes, garbles text, or compresses poorly.
PracticeAnthropic interview practice
FastPrep has 17 coding questions tagged Anthropic, plus 11 system design and 7 project coding questions. Filter them by interview stage and open any one to practice it.
Question list
Sorted by how many times each question was reported. Pick a stage to see only its questions.
Showing 17 of 17 Anthropic questions.
| Question | Difficulty | Stage | Reports |
|---|---|---|---|
| In-Memory Database with Backup and RestoreDesignHash Table | Hard | OA | 13 reports · last May 2026 |
| Convert Stack Samples to Trace EventsStackSimulation | Medium | Phone · Onsite | 12 reports · last Sep 2026 |
| In-Memory Database Historical LookupHash TableDatabase | Hard | OA | 6 reports · last Nov 2025 |
| Worker Management, Part 4: Double-Paid IntervalsHash TableIntervals | Hard | OA | 4 reports · last May 2026 |
| Crawl Same-Hostname URLs ConcurrentlyGraphBreadth-First Search | Medium | Phone | 3 reports · last Oct 2026 |
| Confirmed Profiling Events with First-Observed StartsArrayStack | Hard | Phone · Onsite | 3 reports · last Sep 2026 |
| Profiling Events from Consecutive Stack SamplesArrayStack | Hard | Phone · Onsite | 3 reports · last Sep 2026 |
| Repair the Bootloader ProgramArraySimulation | Medium | OA · Onsite | 3 reports · last Sep 2026 |
| Banking Pending Transfer AcceptanceHash TableDesign | Medium | OA | 2 reports · last Jul 2024 |
| Fair Coin from a Biased CoinStringSimulation | Easy | Phone | 1 report · last Nov 2026 |
| Longest-Match Tokenizer with Unknown SymbolsStringTrie | Medium | Onsite | 1 report · last Oct 2026 |
| Recover a Function-Call LRU Cache with a Write-Ahead LogDesignHash Table | Hard | Onsite | 1 report · last Oct 2026 |
| Trace Events from Stable Whole-Stack StatesArrayString | Medium | Onsite | 1 report · last Oct 2026 |
| Find Duplicate File GroupsArrayString | Medium | Phone | 1 report · last Sep 2026 |
| Cache Shared Image Pipeline PrefixesArrayMatrix | Hard | Onsite | 1 report · last Aug 2026 |
| Task Management SystemDesignHash Table | Hard | OA | 1 report · last Aug 2026 |
| Normalize a DNS Domain NameString | Easy | OA | 1 report · last May 2026 |
At a glance
FastPrep has 17 Anthropic coding interview questions: 7 questions from the online assessment (OA), 6 questions from phone screens and 8 questions from onsite rounds. A question can be reported in more than one stage. By difficulty: 8 hard, 7 medium and 2 easy. The most common topics are Simulation, Hash Table, Array, Design and String. The latest report is from Nov 2026.
7 questions · 4 hard, 2 medium and 1 easy
Topics: Design, Hash Table and Simulation
Latest report: Sep 2026
6 questions · 3 medium, 2 hard and 1 easy
Topics: Simulation, Array and Stack
Latest report: Nov 2026
8 questions · 4 medium and 4 hard
Topics: Simulation, Array and Stack
Latest report: Oct 2026
By stage and level
01 · How to practice each stage
Combine algorithm work with public system-design and project-coding practice so preparation covers both narrow implementation and larger engineering decisions. Your invitation and recruiter come first.
Use the timing and format in your invitation as the source of truth. In practice, work without interruptions, budget time to read constraints, and reserve a final review window for boundary cases.
Treat the problem as a conversation. Clarify the contract, describe the approach before implementation, and keep narrating meaningful decisions while you code and test.
Use the catalog's onsite labels as practice context, not as a promise about a specific loop. Focus on collaborative problem solving: compare approaches, implement cleanly, and explain how the solution behaves at scale.
02 · Design and project questions
Beyond coding questions, FastPrep has 11 system design and 7 project coding questions tagged Anthropic.
Debug the provided byte-level Byte-Pair Encoding tokenizer so it no longer crashes, garbles text, or compresses poorly.
PracticeServe versioned large models on shared accelerators with shard-aware scheduling, continuous batching, bounded admission, streaming recovery, stable experiments, and safe fallback or rollback.
PracticeDebug the provided Extremely Randomized Trees implementation so it is correct and no longer suffers bugs that cause crashes or poor accuracy.
PracticeImplement the request scheduler of an LLM inference engine, assigning prefill and decode work across progressively harder levels.
PracticeDesign a durable web messaging service for private two-person conversations, including conversation discovery, ordered storage, replayable delivery, replica-aware reads, burst handling, and offline recovery.
PracticeScale and optimize an existing online ML service using end-to-end metrics, traces, logs, controlled releases, and explicit overload behavior.
PracticeWrite a stock-price agent loop that executes tool calls, maintains the conversation and handles bounded errors.
PracticeDesign an inference request path with explicit latency accounting and one-GPU or all-GPU batches that each complete in 100 milliseconds.
PracticeDesign a collaborative prompt experimentation product with immutable versions, reproducible runs, searchable results, and safe model-provider execution.
PracticeImplement image resizing, choose a concurrency model, and process independent transformations concurrently.
PracticeSize and route online and offline inference across opaque GPU workers using measured capacity, batching, and explicit overload policy.
PracticeCompute an exact median across ten partitioned workers while balancing transmitted bytes against coordinated rounds.
PracticeCompute one exact deterministic mode across ten partitioned workers while minimizing transmitted value/count data.
PracticeDesign a deterministic control plane and data path that converge legacy telemetry-name variants onto canonical metrics without fuzzy matching.
PracticeDesign a control plane that safely distributes large immutable model versions to serving fleets through staged rollout, verification, activation, and rollback.
PracticeDesign a topology-independent peer-to-peer system that disseminates one large immutable model while respecting a shared per-node bandwidth limit.
PracticeImprove simulated cycle count for a tree-traversal kernel using instruction packing and SIMD while preserving its results.
PracticeFix a small question-answering agent, then make it answer every question within two turns and finally in one.
Practice03 · About these questions
Each question on this page is tagged Anthropic in FastPrep's problem bank. The report count and month show how often and how recently it was reported from Anthropic interviews.
Past reports help you choose what to practice first. They can't tell you which questions, format or platform your own interview will use.
04 · FAQ
For hiring news and timelines, see the Anthropic hiring insights page.
The 17 Anthropic coding questions on FastPrep come from the online assessment (7 questions), phone screens (6 questions) and onsite rounds (8 questions). Some questions were reported in more than one stage. Stages differ by role, level and date, so check your invitation for your own process.
7 of the 17 Anthropic coding questions on FastPrep come from the online assessment. By difficulty: 4 hard, 2 medium and 1 easy. Common OA topics: Design, Hash Table and Simulation. The latest OA report is from Sep 2026.
By difficulty, the 17 rated questions are 8 hard, 7 medium and 2 easy.
Across 17 Anthropic coding questions, the most common topics are Simulation (12 questions), Hash Table (9 questions), Array (6 questions), Design (6 questions) and String (5 questions).
The most reported questions are “In-Memory Database with Backup and Restore” (13 reports), “Convert Stack Samples to Trace Events” (12 reports) and “In-Memory Database Historical Lookup” (6 reports).
Yes. Besides coding questions, this page links 11 system design questions, 0 low-level design questions and 7 project coding questions tagged Anthropic.
No. FastPrep is an independent interview prep site and is not affiliated with Anthropic. These are practice questions from FastPrep's problem bank, not official, private or leaked Anthropic questions.
Each question's stage comes from the reports behind it. A question can be reported from more than one stage, and the process can change by role, level, location and year, so treat the stage as a guide, not a promise.
The stage named in your invitation or recruiter message. If you don't know the stage yet, start with the stage that has the most questions, then practice explaining and testing your code out loud.
No. Report counts, stages and dates show what came up before and help you choose what to practice first. They can't predict the questions, order, timing or platform of your own interview.
Next step
Start with the stage named in your invitation. Past reports show what came up before, not what you will be asked.
Back to the question list