YourAlly

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

  1. Parse Nested Policy Expressions Locked
  2. Redact Sensitive Spans Locked
  3. Token Bucket Rate Limiter Locked

Sign up free to practice all 4

Related pages

Anthropic coding at other levels

Other companies at this level

Company guide

Anthropic interview guide in Academy