The Two Formats

There are two shapes of AI-assisted coding round, and they are different enough that preparing for the wrong one is close to not preparing.

In a structured round the company hands you everything: the environment, the assistant, the codebase and a defined problem arc. In an open-ended round you bring your own editor and your own tools, share your screen, and usually build from nothing.

Same four competencies graded. Almost no overlap in tactics.


Structured

You open a browser link, log into CoderPad or HackerRank, and it is all already there before you type a character — the files, the AI chat panel, the problem statement, the test runner.

Meta’s is the reference implementation, mostly because they standardised it early and candidates now compare everything else to it. Hello Interview’s Meta guide describes a three-panel CoderPad layout: file explorer on the left, editor in the middle, assistant plus instructions on the right.

The constraint in that layout matters more than the layout. The assistant has context on your files but can only reply in chat. It cannot edit anything. Every line it produces, you read and paste yourself. That single design decision is why this format grades what it grades — there is no “accept all” button to hide behind.

The codebase is multi-file, with classes, data models and logic already written. You wrote none of it, and parsing it quickly is a large share of the difficulty.

You usually get a model picker with several options from more than one vendor, spanning a small fast tier and a large slow one. Supported languages at Meta are Java, C++, C#, Python, Kotlin and TypeScript.

Do not plan around a specific model name — the rosters rotate every few months, and the one you rehearsed on may not be in the list. Plan around the tier instead, and pick on one criterion: under a timer, a fast model you iterate with three times beats a strong model you wait on once. Latency is a scoring factor here in a way it never is at your desk, because thinking time you spend watching a spinner is time not spent explaining yourself. Confirm the actual list with your recruiter, and if the picker is unfamiliar, spend your first prompt on something trivial to gauge its speed before you commit to it.

Other companies run the same shape on their own stacks. LinkedIn also uses CoderPad with its own model selection, and Uber runs it on HackerRank against a pre-set repository you are expected to navigate before you change anything.

The three phases

Almost every structured round follows the same arc, built around one extended problem:

  1. Fix a bug in the existing code. Usually not algorithmic — a bad cast, an off-by-one, an inverted conditional. Sometimes the interviewer asks you to do this part without the assistant.
  2. Implement a feature on top of the now-working codebase. This is the main event, and where AI use is expected rather than tolerated. Expect something harder than a medium LeetCode problem.
  3. Optimise for larger input that breaks what you just built. The catch is frequently in the shape of the test data rather than in the algorithm.

Knowing the arc is a real advantage, because it tells you how to spend the clock. Candidates who polish phase one for fifteen minutes routinely never reach phase three.

A few companies run a variant instead: you are handed a pull request — description and diff — and asked to work through it with the assistant and say whether you would approve it. Same skills, different surface.


Open-ended

Your editor. Your tools. Your screen, shared.

Shopify is the canonical example: they tell you to use whatever you would normally use at work, with no starter code and no scaffolding. Canva goes a step further and mandates AI usage, scoring how you use it explicitly. Rippling has you build features incrementally against test cases.

The problems here are greenfield. An empty repository and a problem statement, or sometimes just a README describing what to build. Nobody is testing whether you can find your way around someone else’s service, because there is no service yet.

That moves the weight of the round. The question stops being “can you navigate this code” and becomes “can you design something that holds up as it grows” — module boundaries, extension points, where the abstraction goes. Which is LLD Fundamentals with a faster typist attached. If your design instincts are weak, the model will cheerfully help you build the wrong thing very quickly.


The trade-offs, honestly

Neither format is the easy one. They are uncomfortable in different places.

Structured locks you to their tooling. You cannot switch to the setup you are fast in, and you cannot switch away from an assistant that is not helping. That matters here more than it sounds, because candidates at Meta and Uber consistently report the in-interview model being noticeably worse than what they practiced against. One E7 told Hello Interview that Claude Sonnet performed well in the practice environment and then repeatedly produced wrong answers during the real thing on a straightforward maze problem. Another asked the model to describe the codebase: in his own environment that surfaced the bugs immediately, and in the interview it described the behaviour and mentioned none of them.

The plausible explanation is a system prompt that tells the model not to volunteer bugs or hand over complete solutions. Whether or not that is exactly it, plan for an assistant that implements what you specify and explains what you ask about, but will not do your thinking.

Open-ended exposes everything. There is no platform between you and the interviewer. They see your prompts, your tool-switching, the paste that lands in the wrong window, the thirty seconds you spend hunting for a file. Your workflow is the artifact being evaluated, so it has to actually be good — and “good” here means boring and repeatable, not clever.

There is a compensation on each side. Structured gives you a known problem arc and, at Meta and LinkedIn, a practice environment on the real platform before the real interview. Take it; every candidate who used one said it was worth the time. Open-ended gives you muscle memory, because you are working in the editor you use every day.


In the interview room

First, work out which one you are in before the day. A browser link to an environment they set up means structured. “Use your own machine and share your screen” means open-ended. If the invite only says AI-enabled, ask your recruiter directly and keep asking until you get a straight answer — they want you to pass. If they are vague, ask what you should have set up on your machine beforehand. That question surfaces the format by accident.

While you have them, get these too:

  • Platform: CoderPad, HackerRank, or your own machine?
  • Starter code or an empty repo?
  • Which models, and is there a practice environment you can get into first?
  • How many phases?
  • If it is open-ended: any restriction on tools, and do you need to push to a repo or is the screen share enough?

If it is structured, spend your first ninety seconds on the layout, not the problem. Find the file tree, the test runner and the run shortcut, and confirm where output appears. Then read before you prompt: open the data models first, the entry point second. When the interviewer says “let’s run it and see what happens”, you can still say you want two minutes with the code first — candidates who did that reported it reading as confidence, not hesitation. Debug phase one yourself if the interviewer leaves it open; solving it unaided buys credibility for everything after it. And watch the clock against the arc: orientation plus phase one should leave you roughly thirty minutes for the parts that carry the most weight.

If it is open-ended, have the environment ready before the call — editor open, assistant signed in, a scratch repo initialised, the test command you will use already decided. State your plan out loud before you prompt once, including the file layout you intend to create. Build the smallest working slice first and run it, because a greenfield round with nothing executing at minute forty is very hard to recover. Keep one terminal visible with tests in it; the interviewer should be able to see green without asking.

In both, the tell is the same. After every generation, say what you asked for, what came back, and whether it matched — then run it. That loop is the thing being scored, and it is the subject of what they grade.


Practice the one you are getting

The surfaces here are deliberately split along the same line:

  • Structured → the sandbox: a multi-file codebase, a constrained chat panel, a test runner and three phases under a timer.
  • Open-ended → your own editor: build it with your real tools, then submit the code and the transcript for a verdict.

Then read codebase orientation for the structured path, and company playbooks for the specifics of whoever you are talking to. If you have not read what changed yet, start there.