YourAlly

Anthropic Staff coding interview questions

These are the 5 coding questions YourAlly has tagged for Anthropic at Staff. On the YourAlly ladder this is Staff (E6), the same level as Google L6, Meta E6 and Amazon L7.

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. At this level interviewers also expect clean code quickly and edge cases you raise before they do.

Practice a mock Anthropic Staff coding loopPractice Anthropic coding questions

Parse Nested Policy ExpressionsFree to read

Given a boolean expression with AND/OR/NOT and parentheses over named predicates, evaluate against a true-set of predicates. Input: expr, true_preds Output: bool

4 more coding questions

  1. Apply Ranked Byte Pair Merges Locked
  2. Redact Sensitive Spans Locked
  3. Sliding Window Maximum Latency Locked
  4. Token Bucket Rate Limiter Locked

Sign up free to practice all 5

Related pages

More Anthropic Staff rounds

Anthropic coding at other levels

Other companies at this level

Company guide

Anthropic interview guide in Academy