Prompt Granularity
This is the dimension that gets people rejected with working code on the screen.
Two candidates finish the same feature in the same time. One issued eleven narrow prompts, each naming a function or a data structure, read every response, and ran the tests between each. The other issued three wide ones, pasted the results, and ended up in the same place. The tests are green for both. One gets a hire recommendation and the other does not, and the reason is visible in the chat transcript — which, on most of these platforms, the interviewer can read.
Meta’s stated criteria do not include prompt engineering as a skill in its own right. They include problem solving, code quality, verification and communication, the same four competencies as the traditional round (Hello Interview, Meta’s AI-Enabled Coding Interview). Granularity matters because it is the surface where all four become observable. A narrow prompt is problem solving made visible. A wide one is an admission that you did not do any.
Controlling versus abdicating
The distinction is not length or politeness. It is whether the prompt names a component or hands over the problem.
A controlling prompt specifies what to build and constrains how. Hello Interview’s worked example of a good one: implement a trie class supporting insert and prefix search, where each node stores a character and a boolean marking end-of-word. You already decided it is a trie. You already decided what a node holds. The model is doing typing, which is what it is for.
An abdicating prompt is the two-word kind. “Fix this.” “How should I solve this?” “Make it faster.” Each one transfers a decision you were being graded on.
Some pairs, with the wide version first:
✗ How should I solve this?
✓ This is a shortest-path problem on an unweighted grid. Write a BFS
that uses a deque for the frontier and a set of (row, col) for visited,
returning the distance or -1.
✗ Fix this function.
✓ In solve(), `seen` is declared and never used, so cells are revisited.
Add the visited-set logic: mark on enqueue, skip neighbours already
marked. Change nothing else.
✗ Make it faster.
✓ The visited set is a set of tuples and this runs on a 150x150 grid.
Replace it with a bytearray indexed by row * cols + col. Keep the
function signature identical.
✗ Add the gate feature.
✓ Add a helper `can_enter(grid, r, c, dr, dc)` that returns False when
the target cell is '>' and dr,dc is not (0,1), or '<' and dr,dc is not
(0,-1), and True otherwise. Just the helper, no call sites yet.
Notice that the good versions are longer, and notice what the extra words are. They are not courtesy. They are the decisions you made during planning, written down. A prompt that takes forty words to write usually means the thinking already happened.
The shape that works
A candidate who received an offer from Meta described her method in four moves (Hello Interview):
- Core logic first. Tell the model to build the central piece before anything around it. No scaffolding, no error handling, no abstractions.
- Start from a single basic function, specifically so that reviewing it is easy. Small enough to read in one pass.
- State the intent before each prompt — to the interviewer, out loud, before typing it to the model.
- Confirm the output before moving on. Nothing gets built on top of unverified code.
That loop is not about prompting technique. It is a review cadence. Each step produces a chunk small enough that you can honestly say you understand it, which is the thing you will be asked to prove.
The flip side is efficiency. Information-rich prompts get a usable answer on the first try instead of three rounds of clarification, and in a sixty-minute round the round trips are the cost. One specific habit worth stealing: state your intended approach and ask the model to compute the complexity before implementing. It validates your plan in one exchange, and the interviewer watches you reason about a trade-off instead of assuming one.
When not to use it at all
There is a real threshold here, and candidates report hitting it: if reviewing the output will take longer than writing the code, write the code.
Multiple candidates have said that reviewing model suggestions sometimes took about as long as just writing the thing themselves. That makes the decision easy for a particular class of work — a four-line helper, a one-character fix, a loop you can type in fifteen seconds. Prompting for those is not neutral; it costs you the prompt, the read, and the paste, and it produces a transcript full of prompts for things you should be able to do.
A workable split. Hand it the things that are well-known and tedious: a trie, a heap, a comparator, boilerplate, a complexity calculation, a second implementation to benchmark against your first. Keep for yourself the things that are small, the things that touch the bug you diagnosed, and anything where you are the one with the insight. Saying “I’ll just write this one, it’s three lines” is a positive signal, not an admission.
Redirecting drift
The model will wander. The two common shapes:
Unrequested abstraction. You asked for a function and got a BaseProcessor superclass with two subclasses and a factory. The fix is three sentences, in this order: reject, restate, re-prompt. “I don’t want the class hierarchy, this is one function in an existing module. Write just the helper with this signature, matching the style of the functions already in the file.” Say it to the interviewer too, because rejecting an over-engineered design out loud is one of the better code-quality signals available to you.
Quiet approach switching. More dangerous, because it is easy to miss. You asked for a BFS; the returned code pops from the end of a list. You asked it to add a visited set; it also reorganised the loop. Catch this by reading for the structure before you read for correctness: what data structure is this, is it the one I asked for, did anything change that I did not ask about. When it has switched, do not argue with it — restate the constraint and ask again. “Use collections.deque and popleft. Keep the rest of the function as it was.”
The rule underneath both: never let an unrequested change into the file silently. Either you decide you like it and say why, or it goes.
The assistant may be worse than you expect
Plan for the model in the room to be meaningfully less capable than the one on your laptop.
This is one of the most consistent findings in candidate reports from the real format. An E7 candidate told Hello Interview that Claude Sonnet had worked brilliantly for him in Meta’s practice environment and then gave wrong answers repeatedly during the interview, on a straightforward maze traversal — the kind of problem it handles easily. He prompted it several times, kept getting broken conditionals, and eventually abandoned it and wrote the code himself. Another candidate asked it to describe the codebase; in his own environment that request immediately surfaced the bugs, and in the interview it described what the code did without mentioning a single issue. A third got nothing useful out of repeated prompting on a debugging problem that was well within the model’s normal range (Hello Interview).
Not universal. Some candidates report no difference at all, and one in the October pilot had the model volunteer a bug unasked. But the pattern is frequent enough to prepare for.
The leading theory, corroborated by several candidates, is that the behaviour is modified through the system prompt: instructed not to point out bugs directly, not to produce complete solutions unprompted, and to describe functionality rather than diagnose problems. Which, if true, is a coherent design rather than a malfunction. The round is trying to grade you, and a model that volunteers the answer makes that impossible.
The practical consequence is a change in what you ask for. A describe-and-diagnose prompt is likely to come back empty. A specify-and-implement prompt is likely to work fine, because generating a trie you have already specified is not something the constraint is aimed at. So: do your own diagnosis, and use the model for construction.
Our sandbox reproduces this on purpose. The assistant there writes what you specify and explains what you ask about, and it will not hand you the bug or propose the approach. Practice against it until a flat, unhelpful answer does not rattle you, because recovering from that in the room is a learnable skill and discovering it live is expensive. One candidate’s summary of the whole situation is worth keeping: if you cannot solve the problem yourself, it is hard to use AI to solve it for you.
In the interview room
The mechanics, prompt by prompt.
Before you type a prompt, say the intent out loud. “I’m going to have it write the gate-check helper, I’ll keep the call sites myself.” Two sentences, every time. This is the cheapest communication signal in the round and it also forces you to notice when your intent is vague — if you cannot say what you want in one sentence, the prompt is about to be too wide.
One concept per prompt. A function, a class, a complexity calculation, a refactor. Never a function and its call sites and the test for it, because you cannot review a three-part answer at the same speed you can review three one-part answers, and you need to be able to run something between each.
Specify four things when it matters: the name and signature, the data structure, what it returns on the boundary case, and what not to touch. That last one does more work than people expect. “Change nothing else in the file” prevents most drift before it starts.
Review before you paste, in this order. Structure first — is this the data structure I asked for? Then the data model — does it treat the types the way the existing code does? Then the edge cases. Then, last, the line-by-line read. The order matters because a structural mismatch invalidates the line-by-line read, and reading carefully first means you can spend ninety seconds verifying code you are about to throw away.
Thirty-second budget per correction. If a response is wrong, you get one re-prompt with a tighter constraint. If the second answer is also wrong, write it yourself and say so: “it’s not getting the direction check right, I’ll just write this one.” That sentence reads as judgment, not defeat. The failure mode to avoid is the fourth re-prompt, which looks exactly like someone trying to prompt their way out of a problem they do not understand — and interviewers are explicitly watching for it.
When it over-engineers, reject out loud. “It’s given me a base class and two subclasses for something that’s one function. That’s more structure than this needs, so I’m rejecting it and asking for just the helper.” You have now demonstrated a code-quality opinion, which is a graded competency, using the model’s mistake as the prop.
If a response is one you could not defend, do not use it. The discipline is absolute here. If the interviewer asks what line nine does and the honest answer is that you are not sure, you have lost more than the time it would have taken to write it. Say it instead: “I don’t fully follow why it’s doing the bounds check twice — let me simplify it rather than ship something I can’t explain.” Candidates who say that sentence do well. Candidates who get caught not knowing do not.
When the model goes flat, switch jobs rather than switch prompts. Three unhelpful answers in a row means stop asking it to think and start asking it to type. Narrow the scope hard — from “implement the traversal” to “write a deque-based BFS loop over this neighbour function” — and carry the reasoning yourself. Narrate the switch: “it’s not being useful on the diagnosis, so I’ll work that out myself and use it for the implementation.” That is a composed response to a bad tool, which is precisely the thing being tested.
The transcript is part of your submission. Assume someone reads it. A transcript of narrow prompts with specified signatures, one or two rejections, and a complexity check reads as an engineer at work. A transcript of “fix this,” “still broken,” “try again” reads as something else, regardless of what the tests say at the end.
Drill it. In the sandbox, run a problem under one rule: every prompt must name a function or a data structure, and none may name the problem. It is harder than it sounds and it is the whole skill. When that is comfortable, move to verification, which is what you do with the answers.