BY CATEGORY · Anthropic
Anthropic Coding & algorithms Interview Questions
Prepare for Anthropic Coding & algorithms questions: 30 interview questions from real interviews. Read, practise and mock them on CSWork.
- Questions
- 30
- Updated
- 2026-09-28
Interview questions 30
Filter in the workspace- CodeGreedy Longest-Match Tokenization of a String Against a Fixed VocabularyMedium
- CodeImplement a Banking SystemMedium
- CodeImplement a Least-Recently-Used CacheMedium
- CodeCompute Exclusive Time from Stack EventsHard
- CodeConvert Sampled Call Stacks into Start and End EventsHard
- CodeImplement a crash-resilient LRU cacheMedium
- CodeFind Duplicate Files by ContentHard
- CodeGenerate outputs for images and pipelinesMedium
- CodeDesign a single- and multi-threaded web crawlerMedium
- QDesign file deduplication at scaleMedium
- CodeSimulate stack traces from logsMedium
- CodeParse and Reconstruct Stack TraceMedium
- CodeImplement hostname-restricted web crawlerMedium
- CodeImplement a recency-eviction bounded cacheMedium
- CodeDesign high-throughput hashing for kernelsMedium
- CodeDesign and implement a Python solutionMedium
- CodeDesign an in-memory banking serviceMedium
- CodeApply bitwise tricks for performanceMedium
- CodeImplement an extensible prefix treeMedium
- CodeDesign file deduplication across nested directoriesMedium
- CodeCompute matrix trace and support updatesMedium
- QImplement crawler, dedup, and persistent LRUMedium
- CodeSolve programming task with follow-upsMedium
- CodeImplement Python LRU cache with args and persistenceMedium
- CodeImplement a same-host web crawlerMedium
- CodeConvert stack samples to trace eventsMedium
- CodeDetect runs and answer suffix queriesMedium
- CodeImplement cluster status trackerMedium
- CodeFind and remove duplicate filesMedium
- CodeFind the Slowest Function from Profiler EventsMedium