Coding interview questions

Anthropic Coding Interview Questions (DSA)

The 4 DSA problems Anthropic has asked most in the last six months, most-asked first. 4 of them have a full breakdown with diagrams and code. Tick them off as you go.

Practice a Anthropic interview with me

I'm Alex. I'll pick 2 problems from Anthropic's list at your level and interview you like a real Anthropic round.

4problems
4full breakdowns
8topics

By difficulty: Medium (4)

Start Anthropic Mock Interview→

Topics

Web Crawler Multithreaded
Full breakdownDepth-First SearchBreadth-First SearchConcurrency
Medium▶ Mock
636.Exclusive Time of Functions
Full breakdownArrayStack
Medium▶ Mock
1236.Web Crawler
Full breakdownStringDepth-First SearchBreadth-First Search
Medium▶ Mock
609.Find Duplicate File in System
Full breakdownArrayHash TableString
Medium▶ Mock

Frequently Asked Questions

What questions does Anthropic ask in coding interviews?

Anthropic coding interviews focus on Array, Breadth-First Search, Concurrency, Depth-First Search, and other data structure problems. We compiled 4 questions from real Anthropic interviews. The most common topics are Array, Breadth-First Search, Concurrency, Depth-First Search, Hash Table. Filter by topic to see what comes up most often.

How many Anthropic coding interview questions are there?

InterviewSkool has 4 Anthropic coding interview questions: 0 Easy, 4 Medium, and 0 Hard. Most Anthropic interviews focus on Medium-difficulty problems, so prioritize those in your prep.

How should I prepare for Anthropic coding interviews?

Start with Medium difficulty problems. Group by topic (Array, Tree, DP) to build pattern recognition. Aim to solve 30 to 40 problems before your interview. Then practice under pressure with a mock interview.

Are Anthropic coding interview questions free?

Yes. All 4 Anthropic coding interview questions are free to browse with no sign-up required. You can filter by difficulty and topic tags. Start a mock interview with a free credit to practice under real pressure.

Practice with a Mock Interview

Simulate real Anthropic interview pressure with our AI interviewer.

Start Mock Interview →