Most AI engineer and FDE loops still have a coding round, usually one, and it tends to be data-structure design rather than puzzle-solving. Confirm its length and AI rule, solve the problem cleanly, then show you know the production system the problem is a toy version of.
Blue: the practice problem. Teal: the pattern the round is really about. Green: the system part it rehearses.
One round, and two ways it can run
- Anthropic, live interviews: “no AI assistance unless we indicate otherwise” (stated, last updated 2025-07-10)
- Palantir: reported as AI-prohibited
- Your evidence: the code, its test and what you say while writing it
- Meta: an AI-enabled round since October 2025, 60 minutes in CoderPad on a multi-file codebase (reported)
- Canva, Shopify and others reportedly allow or expect AI
- Your evidence: the check you run on each change the assistant proposes
Rule of thumb: same habits, different proof. Ask the recruiter which mode each round is, in writing, before you prepare.
Yes, there is usually a coding round. What has changed is the rule around it. Some employers forbid AI in live rounds, others hand you an assistant and score how you check it. No employer publishes a round length, so the first move is a written question to the recruiter, round by round (Interview Loops has the wording).
Where the minutes go
- Restate1 min. Say the spec back in one sentence.
- Clarify2 to 3 min. Inputs, outputs, errors, bounds.
- Sketch3 to 5 min. The structure and its complexity, aloud.
- Implement15 to 25 min. Working code, narrated.
- Test3 to 5 min. The edge case you named, run.
- Extensions5 min. The production follow-up, as discussion.
The split is the suggested process from The Coding Round, not an employer rule. The 60-minute slot and 10–15 minutes of intro and questions are assumptions; prep sites quote 45, 50 and 60 minutes for similar rounds.
The step most people cut is the one that is scored: the test. The extensions step is the production conversation, and it is where the eight problems below earn their place. If the slot is shorter, cut extensions first, then the sketch, and keep the test.
Practise the follow-up, not just the problem
| Problem | The follow-up |
|---|---|
| 146. LRU Cache Read: Cache eviction | Four replicas share it: what is the source of truth, and what does a stale hit cost? |
| 215. Kth Largest Element Read: Top-k before the reranker | 50 candidates out of 40,000: heap of size k, O(n log k), or a full sort? |
| 23. Merge k Sorted Lists Read: Merging shard results | Each index shard returns its own top 50: merge to a global top 50 without sorting everything. |
| 210. Course Schedule II Read: Ordering a plan's steps | The planner emits steps with dependencies: which run in parallel, and what do you do with a cycle? |
| 295. Find Median from Data Stream Read: Running latency percentiles | Now p95 instead of the median, over millions of requests: what changes, and what is approximate? |
| 981. Time Based Key-Value Store Read: Memory as of a moment | What did the agent believe about this user before the 14:02 tool call? |
| 3. Longest Substring, No Repeats Read: Windows over a token stream | Cut a document into overlapping windows that never split a heading from its text. |
| 208. Implement Trie Read: Prefix routing, autocomplete | Route /refund and /refund-status to different handlers, and autocomplete commands as the user types. |
All eight are free on LeetCode. Each is the toy version of a part you will build around a model: a cache, a top-k cut, a merge across shards, a plan’s order, a percentile, a versioned memory, a window, a prefix lookup. The pattern gets you through the first 40 minutes; the follow-up column is what you rehearse.
A worked example: the cache, then the follow-up
from collections import OrderedDict
class LRUCache:
def __init__(self, capacity: int):
self.capacity = capacity
self.items: OrderedDict[str, str] = OrderedDict()
def get(self, key: str) -> str | None:
if key not in self.items:
return None
self.items.move_to_end(key) # now the most recent
return self.items[key]
def put(self, key: str, value: str) -> None:
self.items[key] = value
self.items.move_to_end(key)
if len(self.items) > self.capacity:
self.items.popitem(last=False) # evict the oldest
Both operations are O(1) on average: a dict lookup plus a constant-time move in the linked list underneath OrderedDict. Say “on average”; the worst case of a hash lookup is O(n). Then the interviewer moves the cache into production:
This caches answers for a support bot. It now runs on four replicas. What breaks?
Each replica evicts on its own traffic, so hit rates drop and two replicas can hold different answers. I would move the store to one shared cache with a TTL, and keep this class as a small per-process front.
names the failure first, then the fixThe help pages change. How does a stale answer leave the cache?
Put the docs version in the key or the entry, and bump it on every publish. And scope keys per tenant, so one customer never gets another’s cached answer.
the same rules the support bot’s cache followsWhen AI is on, the check is the answer
- AskOne sentence: what you want the assistant to change.
- Test firstWrite the failing test for the edge case before you accept anything.
- Read the diffThe change itself, not the assistant’s summary of it.
- Run itYour test and the edge case you named.
- Reject with a reasonAnything you cannot explain, said aloud.
The five habits from The Coding Round. Meta’s reported criteria for its AI-enabled round are problem solving, code quality, verification and communication.
With an assistant, code appears faster than you can read it, so the evidence moves from typing to checking. A clean solution you cannot explain line by line scores worse than a slower one you can defend.
What not to grind
- Hard dynamic programming and one-trick puzzles
- Stops when the code passes
- Practised in silence
- Data-structure design you will build for real
- Five more minutes on scale, sharing and failure
- Said aloud, with a timer
Rule of thumb: reach for the right structure without ceremony, then talk about it like someone who has been paged for it.
Hard dynamic programming, obscure number theory and anything that turns on a trick you either know or do not test a different skill from the job, which is the plumbing around a model. The time is better spent on a tool router and a strict JSON parser, the two samples the guide’s coding section works through, because both appear in real agent code.
Starting to type before restating the spec. Stopping when the code passes, with no test run. Saying O(1) for a dict lookup without “on average”. Using an assistant in a round that did not allow it, or failing to check what it wrote in one that did.
“Your LRU cache works. It now backs a support bot on four replicas. What changes?” Name the failure first: per-replica eviction and divergent answers. Then the fix: a shared store with a TTL, the docs version in the entry, and keys scoped per tenant. The trap is re-explaining the linked list.
Your recruiter says “standard coding round”. What do you still need to know before you prepare?
Its length, the editor, and whether AI is allowed, in writing. The AI rule changes what counts as evidence: your reasoning with AI off, your checks with AI on.
Ten minutes are left and your solution has no test. Extensions or the test?
The test. It shows the code runs. Cut extensions first, then the sketch; say the extension in one sentence if time allows.
The interviewer asks for p95 latency instead of the median from your two-heap solution. What do you say?
Resize the heaps so the lower one holds 95% of the values, and note that exact percentiles over millions of requests cost memory; production systems usually keep a histogram or sketch and accept a bounded error.
- Expect one coding round, and confirm its length and AI rule in writing; no employer publishes them.
- Run the clock: restate, clarify, sketch, implement, test, extend. The six steps take 29 to 44 minutes; never cut the test.
- Eight free problems rehearse eight production parts; practise the follow-up for each.
- With AI on, the evidence is the check: test first, read the diff, run it, reject what you cannot explain.