Anthropic logo

Anthropic Interview Questions

10 practice questions for Anthropic technical interviews

coding Hard Verified

OA[CodeSignal] Cloud File Storage System


Category: Graph coding problem
# Question Your task is to implement a simple in-memory cloud storage system that maps objects (files) to their metadata (name, size, etc.). You...
Input: Graph (nodes and edges)
Output: Array
coding Hard Verified

OA[CodeSignal] Design Banking System


Category: Graph coding problem
# Question Design a banking system that supports account management, transactions, and various financial operations.
Input: Graph (nodes and edges)
Output: Computed result
coding Medium Verified

Convert Stack Samples To A Trace


Category: Interval-based coding problem
# Description Sampling profilers capture the call stack at periodic intervals to analyze program performance. However, most trace visualization tools...
Input: List
Output: Computed result
coding Medium Verified

Find Duplicate Files


Category: String coding problem
# Description Given a list of file paths in a directory system, find all duplicate files. Two files are considered duplicates if they have identical...
Input: List
Output: Array
coding Hard Verified

Multi Threaded Web Crawler


Category: Graph coding problem
# Description Given a URL startUrl and an interface HtmlParser, implement a concurrent web crawler to discover all unique URLs that share the...
Input: Graph (nodes and edges)
Output: Array
coding Hard Verified

OA[CodeSignal] In-Memory Database


Category: Graph coding problem
# Description Implement a simplified in-memory database that supports record manipulation with various operations. The system should handle basic...
Input: Graph (nodes and edges)
Output: Array
system design Hard Verified

System Design - Inference API


Category: Queue-based system design problem
You need to design a high-concurrency inference API system. This system must handle many requests happening at the same time. You are given an API...
Input: Number(s)
Output: Computed result
coding Medium Verified

Service Log Aggregator


Category: Trie-based coding problem
A distributed system emits log entries from multiple services and worker threads. Each log entry is a colon-separated string in the format...
Input: Array
Output: Computed result
coding Hard Verified

Distributed Statistics Engine


Category: String coding problem
A large dataset of integers is distributed across k workers (indexed 0 to k-1). Each worker holds an unsorted, roughly equal slice of the data....
Input: String
Output: Printed output
coding Medium Verified

Longest Match Tokenizer


Category: Array coding problem
You are given a text string text and a dictionary array where each element is in the format "<key>:<id>". Here key is a token string and id...
Input: Array
Output: Computed result

No AI generated questions yet for Anthropic.

Start practicing Anthropic questions

Sign up for free to access walkthroughs, AI-generated questions, and more.

Get Started Free