Meta's AI-Enabled Coding Interview: Format, Real Questions, Scoring and Prep (2026)
Dec 3, 2026 · 14 min read
Meta was the first big tech company to put an AI assistant inside its standard coding interview. The idea surfaced in mid-2025, candidates started reporting the round in October 2025, and by late 2026 it's a normal part of many Meta loops. Meta's own hiring FAQ now says candidates are expected to use the assistant.
Unlike Google's newer pilot, this round has a paper trail. Meta has an official FAQ about it, and candidates have posted dozens of reports. This post pulls them together: what Meta says officially, what the round looks like in practice, the problems that keep coming up, how it's judged, and a prep plan that matches.
📌 The short answer
- What: a coding round in CoderPad with a built-in AI assistant. You pick the model: Meta lists Claude, ChatGPT, Gemini and its own models. No outside AI tools.
- Task: usually one multi-file project in several parts that build on each other. Fix failing tests, implement the core feature, then extend or optimize it. Candidates report about 60 minutes.
- Common problems: a maze solver, a word-list solver, a card game (pick cards that sum to 15), and a few others that repeat.
- Judged on: the usual: problem solving, code quality, verification and communication. The AI is there to help. You're still expected to understand every line, including the time complexity.
- Who: many SWE loops from new grad to E6, plus ML and some specialist roles. Most loops still have one classic coding round without AI, but some 2026 loops have two AI rounds instead.
What Meta Says Officially
Start with Meta's own words. Its hiring process page says select roles now include an authorized AI assistant in CoderPad during technical interviews. The FAQ adds the details that matter most:
- You're expected to use it. The FAQ says many interviews now include an AI assistant in the interview environment and that candidates are expected to use it. Some older prep guides call the assistant "optional." The current official wording is stronger.
- Several models, your choice. The assistant includes Claude, ChatGPT, Gemini and Meta's models, and you choose during the interview.
- No outside tools. Only what's in the interview environment is allowed. No second laptop, no browser tab with ChatGPT.
- Languages. Python, Java, TypeScript, C++, C#, Kotlin, Swift, Rust and Go, chosen at the start.
- Design rounds use it too. Meta says design interviews run in CoderPad with Mermaid diagrams and the same assistant. So AI isn't limited to the coding round.
- There's a practice pad. Candidates get a practice session in the same tool through their Meta Career Profile. Use it. Candidates consistently say the sample is close to the real thing.
Meta also explained the reason when the plan first came out. In July 2025, 404 Media and then Business Insider reported on an internal Meta post. It said the new format is closer to the environment engineers actually work in, and that it makes LLM-based cheating less effective. If AI is allowed, sneaking it in gives you nothing.
What the Round Looks Like in Practice
Meta doesn't publish its questions. But candidate reports line up closely enough to describe the round with some confidence.
The environment
You get a CoderPad with several files, not a single solution.py. One candidate's
report (SWE Product,
November 2025) describes main.py, test.py, solve.py, utils.py and a data/ folder of word lists. There are
Run code and Run tests buttons, so you can run code instead of tracing it by hand. The AI chat panel sits
next to the editor.
Two things vary between reports, so check them in your practice pad:
- Which models are offered. In late 2025, some candidates saw only lightweight models (o4-mini, Claude Haiku, Llama 4 Maverick). Later reports mention stronger ones. Aggregated reports also describe a model hanging or returning nothing mid-interview, with the interviewer switching to another. Don't build your whole plan around one model.
- Whether the AI edits files or only chats. CoderPad's AI Assist has an "Ask" mode with no write access and an "Edit" mode that can change files. Candidates describe both a chat you paste from and an assistant that "could write code." Be ready to copy and integrate code yourself.
CoderPad's documentation also says prompts and AI output are saved for playback, so assume your conversation with the assistant is part of the record.
The structure: one problem, several parts
The most consistent finding is the shape. Instead of two unrelated algorithm questions, you get one codebase and a sequence of tasks, often written like tickets:
- Fix what's broken. A few unit tests fail because of small logic bugs. One candidate called the fixes "really minor logic errors" and recommended debug prints.
- Implement the core. A stubbed function, such as the solver, the strategy or the search, needs to be written and pass the provided tests.
- Extend or optimize. New requirements, larger inputs, or "can you make this faster?"
- Sometimes a fourth part that pushes the extension further.
PracHub, which has collected 35 candidate reports, says eight of nine maze reports described four parts. Almost nobody finishes everything, and that's fine. Its reports include a candidate who reached part 3 of 4 and got an offer. In another report, a candidate finished three of four tasks and passed the round.
A detail worth knowing: part 1 sometimes has AI turned off. A few candidates said they had to fix the first bugs by hand, with the assistant available only later. Be ready to debug without help.
The problems that keep coming up
Meta reuses a small set of problems with variations. Across public reports, the recurring ones are:
| Problem | What candidates describe | Where it gets hard |
|---|---|---|
| Maze solver | A grid maze; fix failing tests, then BFS for a path, then extensions | Extensions that add state to the search, and big mazes |
| Word-list solver | Utilities plus a solve stub that finds words or a subset of words with some property, using data files |
The search can blow up exponentially. One interviewer revealed the version they asked was NP-complete |
| Card game (sum to 15) | Draw cards, choose three that sum to 15; fix a test, then write a strategy | Greedy wins sometimes. Search or DP wins much more often |
| Max unique characters | A string or set problem around maximizing unique letters | Pruning a combinatorial search |
| Friend recommendations / words containing words | Rarer variants | Graph or string indexing |
PracHub's counts, as of November 2026: maze 15, max unique characters 10, card game 7, the last two 2 each. Treat that as a rough frequency guide, not a promise.
There's a pattern here. Every problem has an easy-to-write correct version and a hard-to-write efficient version. The assistant can write the first in seconds. The interview mostly happens in the gap between the two.
Where it sits in the loop
Most reported loops look like this:
| Round | AI allowed? | Length |
|---|---|---|
| Classic coding (one or two LeetCode-style problems) | No | ~45 min |
| AI-enabled coding | Yes | ~60 min |
| System or product design (mobile design for Android/iOS roles) | Meta says design rounds also have the assistant | ~45 min |
| Behavioral | – | ~45 min |
The November 2025 SWE Product report and an E4 infra candidate's Blind post (collected by aicodinginterview.com) both describe exactly one AI round next to one classic coding round. There's a 2026 twist, though. PracHub has five reports from 2026 with two AI rounds and no classic coding round, and a Blind poster says a recruiter described two AI coding rounds for an "AI-native" E5/E6 role. Ask your recruiter which of your rounds allow AI. It changes how you split your prep.
The classic round hasn't gone anywhere. An E4 Android candidate in March 2026 got a variant of LeetCode 1047 (removing adjacent pairs, here letters next to each other in the alphabet) and LeetCode 827 (Making a Large Island) word for word, in addition to a maze-solver AI round.
How It's Judged
Meta hasn't published a rubric for this round. Here's what the evidence says.
The usual four, not "prompt engineering." The SWE Product candidate above says they've also interviewed for Meta. They wrote that Meta doesn't score prompt engineering as such. It scores the usual areas, like communication, coding and problem solving, with AI available. Prep sites that summarize many reports describe the same areas: problem solving, code quality, verification and communication.
Using AI as a crutch fails. The same candidate said they had failed candidates for leaning on the LLM for everything. Interviewers ask questions like "what algorithm did the AI just implement?" and "what's the complexity of that?" If you can't answer, the AI's working code doesn't help you.
Not using it can fail too. A candidate-reported rejection in 2026 says the recruiter's feedback was, roughly, to do less manual work and use AI more. If you hand-write everything, you've used up the time the round gives you and shown nothing about working with AI.
Complexity still decides the hard part. The most useful story on record is from the November 2025 report. The
candidate gathered requirements, gave Claude Haiku a careful prompt, and got working solve.py code in one or two
tries. Then the interviewer asked about time complexity. It was exponential, and no better approach came. The
interviewer later said the problem was NP-complete, and that most candidates don't notice. A month later, another
candidate described the same wall in the same thread: a backtracking solution over thousands of words, a request to
optimize further, and time running out.
The lesson: the AI gets you to "tests pass" quickly. The interview is about what comes after: recognizing what kind of problem you're facing, explaining why your solution is correct, and knowing when a better complexity exists and when it doesn't.
What strong and weak look like
| Strong | Weak | |
|---|---|---|
| Reading | Skims the repo, runs the tests, states what's failing before prompting | Pastes the whole task into chat first |
| Prompting | Gives context, constraints and the exact function: "Implement solve(words) in solve.py; must pass test_solve_*; words up to N; explain the complexity" |
"Solve this" |
| Integrating | Reads the generated code, renames, simplifies, adds a test for an edge case | Pastes and clicks Run tests |
| Complexity | States it unprompted, and proposes pruning or a better structure | Learns it from the interviewer's question |
| Communication | Talks through decisions and says when the AI is wrong | Goes quiet while the AI types |
A Worked Example: the Maze-Style Round
To make this concrete, here's how we'd handle a round shaped like the maze problem candidates describe. The code and the extensions below are our own illustration, not Meta's question. Practice the moves, not the specifics.
The repo: maze.py (parses a grid of # walls, . open cells, S start, E end), solver.py (a stub), and
test_maze.py.
Part 1: two failing tests (about 10 minutes)
Run the tests first. Two failures: a 1×N maze can't find neighbors, and a maze with the exit on the last column
fails. That points to bounds checking. Read neighbors() yourself:
def neighbors(self, r, c):
for dr, dc in ((1, 0), (-1, 0), (0, 1), (0, -1)):
nr, nc = r + dr, c + dc
if 0 <= nr < self.rows and 0 <= nc < self.rows and self.grid[nr][nc] != "#":
yield nr, nc
nc < self.rows should be nc < self.cols. It only shows up in non-square mazes, which is exactly what the
failing tests use. Say so, fix it, and rerun. If the assistant is off for this part, this is why you practice
reading code by hand. If it's on, a scoped prompt like "In maze.py neighbors, why might a 1×5 maze return no
neighbors?" is faster than reading maze.py top to bottom.
Part 2: implement the solver (about 15 minutes)
Before prompting, state the plan: "Shortest path on an unweighted grid, so BFS. I'll track parents to rebuild the
path, and return None if there's no path." Then prompt with that plan and the contract:
"In
solver.py, implementshortest_path(maze) -> list[tuple[int, int]] | Noneusing BFS frommaze.starttomaze.end, withmaze.neighbors(r, c). Return the path including both ends, or None. Don't change other files."
Read what comes back. Check that it marks cells visited when enqueued (not when dequeued, which wastes work and can blow up the queue), that it handles start equal to end, and that the path is rebuilt in the right order. Run the tests. Then add one test of your own, for an unreachable exit, and say why.
Part 3: the extension (about 20 minutes)
The new requirement: "Some cells are lowercase keys (a–f) and uppercase doors (A–F). You can only go
through a door once you've picked up its key."
This is where candidates get stuck, because the naive change (BFS over cells, check keys as you go) is wrong. You can reach the same cell with different keys and need to treat those as different situations. Say that out loud, because it's the insight being tested:
"The state is now (row, col, keys held), not just (row, col). With six keys that's a 6-bit mask, so up to 64 times the cells. Still BFS, since every move costs the same."
Now the assistant is useful again. Ask it to change BFS to work on (r, c, mask), and check the two places it
usually gets wrong: setting the key bit when stepping onto a key, and checking the door against the mask
before moving. Then give the complexity: O(rows × cols × 2^K) time and space.
Part 4: if you get there
There are many possible follow-ups: several exits, weighted cells (now Dijkstra), or a maze too big for memory. You won't have time to build them all. Explain how you'd handle the one you're given, what changes in the algorithm, and what the new complexity is. Clear reasoning about a part you didn't finish still counts.
The general pattern: state the algorithm and its complexity before prompting, give the AI a precise contract, check the two or three places that kind of code usually goes wrong, then add a test. You can practice a similar round in our lab Fix and solve a word-guessing puzzle, which follows a Meta-style puzzle walkthrough: a small Python repo, a failing test about repeated letters, and an AI assistant.
How Meta's Round Compares to Google's
Google started a similar pilot in 2026, a "code comprehension" round with Gemini. The two are converging, but the differences matter for prep:
| Meta | ||
|---|---|---|
| Status | Running since late 2025, common in 2026 | Pilot started mid-2026, expanding |
| Assistant | CoderPad built-in, your choice of model | Gemini (in the pilot) |
| Official guidance | Hiring FAQ: candidates expected to use it | No public page; details from Business Insider |
| Task | One multi-part project: fix, build, extend | Read, debug and optimize an existing codebase |
| Scoring | Usual areas, with AI available | Explicitly "AI fluency": prompting, output validation, debugging |
Full details are in Google's AI-Assisted Coding Interview.
How to Prepare: Two Weeks
First, use Meta's practice pad. Once your onsite is scheduled, open the practice session in your Career Profile. Learn the layout, try every model, and check whether the assistant can edit files or only chat. Candidates consistently say the sample is close to the real round. Fifteen minutes there is worth more than hours of guessing.
Days 1–4: multi-file reps without AI. Take small repos (3–5 files, a test file, a stub) and do the "fix two failing tests" step by hand, timed at 10 minutes. You're training the reflex to run tests, read the failure, form a hypothesis and add a print. That's exactly what you need if part 1 has AI turned off.
Days 5–8: AI pair-programming drills. Use the models Meta offers, including the weaker ones, so a lightweight model doesn't surprise you. For each task: say the plan and complexity, write a prompt with a contract, read the output line by line, and add one test of your own. Our guides on writing prompts, reviewing AI diffs and verification cover each step.
Days 9–11: the extension muscle. The hard part is usually an extension that changes the problem's shape. Drill the patterns these problems use:
- State-space search: BFS over (position, extra state), such as keys, fuel or steps left.
- Backtracking with pruning: subsets, permutations, bitmasks for letter sets, ordering choices to fail early.
- Greedy vs. search: when a greedy rule is good enough, and how to show when it isn't.
- Recognizing hardness: subset-style "find a set of items with property X" problems are often NP-hard. Say so, then talk about pruning, heuristics or constraints that make it tractable.
Days 12–13: full mocks, out loud. Do 60-minute sessions on a repo with three or four parts, talking the whole time, with someone asking "why?" and "what's the complexity?" as you go. That's what our AI coding labs simulate: a real repo, an AI assistant, an AI interviewer that follows up on your test runs and AI edits, and a debrief that scores how you worked with the AI.
Day 14: the classic round and behavioral. If your loop still has a classic coding round, do a few timed Meta-tagged problems without AI. Prepare behavioral stories, including one about a time AI-generated code was wrong and you caught it. That question now comes up across the industry.
Mistakes to avoid on the day
- Spending too long on part 1. It's meant to be quick. If a bug takes more than 10 minutes, talk through what you've ruled out and ask for a nudge.
- Treating green tests as done. Expect "what's the complexity?" every time.
- Trusting one model. If it stalls or gives junk, switch models or write the code yourself, and say why.
- Silent prompting. Say what you're asking for and what you'll check before you read the answer.
- Rewriting the repo. Work inside the existing structure. Interviewers want to see you extend code, not replace it.
FAQ
Is using the AI optional? Meta's current FAQ says candidates are expected to use it. You won't fail just for not prompting, but you lose time and lose the chance to show you can work with it.
Can I use my own AI tools? No. Meta's FAQ says only the tools inside the interview environment are authorized.
How long is it? Candidates consistently report about 60 minutes. Meta's FAQ doesn't give a length.
Does it replace the LeetCode round? Usually it replaces one of the two onsite coding rounds, so you have one classic round and one AI round. Some 2026 loops have two AI rounds. Ask your recruiter.
Is it in the phone screen too? Nearly all reports place it in the onsite. A couple of aggregated reports mention it at the technical screen stage, so ask if you're unsure.
Which levels and roles? Reports cover new grad through E6 and include product, infra, Android, ML engineering and research roles. Meta's FAQ says "select roles."
Does it run my code? Yes. Candidates describe Run code and Run tests buttons in the AI round.
Which model should I pick? The strongest one on offer that you're comfortable with. Try them all in the practice pad first. Have a backup in case one stalls.
Now try the round
Work through a repo with an AI assistant while an AI interviewer asks you to explain each step. You get a debrief at the end.