Anthropic Senior EM coding interview questions
These are the 4 coding questions YourAlly has tagged for Anthropic at Senior EM. Senior EM (M2) is the level where you manage other managers.
A coding round at a large tech company usually runs 45 to 60 minutes with one or two problems. You write code that runs, test it on your own examples and state its time and space cost. Manager loops include less coding, but you still need to reason about code and review it well.
Practice a mock Anthropic Senior EM coding loopPractice Anthropic coding questions
Sliding Window Maximum LatencyFree to read
Given latencies and window w, return max latency in each window of size w. Input: nums, w Output: list
3 more coding questions
- Parse Nested Policy Expressions Locked
- Redact Sensitive Spans Locked
- Token Bucket Rate Limiter Locked
Related pages
Anthropic coding at other levels
- Senior 6 questions
- Staff 5 questions
- Senior staff 5 questions
Other companies at this level
- Airbnb Senior EM 4 questions
- Apple Senior EM 4 questions
- Google Senior EM 14 questions
- LinkedIn Senior EM 4 questions
- Meta Senior EM 14 questions
- Microsoft Senior EM 4 questions