HomeCoursesBlog
← Back to Blog
Article

The Meta Coding Interview: Every Round, the Most-Asked Questions by Pattern, and the 20-Minute Bar

The Meta Coding Interview: Every Round, the Most-Asked Questions by Pattern, and the 20-Minute Bar

TL;DR: The Meta coding interview is a recruiter call, one technical phone screen, and an onsite loop of four to five rounds. The phone screen and the classic onsite round each give you two problems in about 45 minutes, so each problem gets about 20 minutes, including the explanation and the testing. The questions are mostly medium LeetCode-style problems from a pool that rotates, but the patterns behind them stay stable: stacks, two pointers, tree traversal, intervals, prefix sums, and top K. One onsite coding round is now AI-enabled. Prepare by pattern, then train the 20-minute pace out loud.

Most candidates prepare for Meta as if the problems were the hard part. They are not. Meta asks fair, well-known medium problems, and it asks two of them in each round. The difficulty is the pace: about 20 minutes per problem, explained out loud, with no option to run the code.

I interviewed engineers at Meta, and the most common failure I saw was a candidate who could solve both problems but needed 35 minutes for the first one. This guide explains each round of the loop, what the interviewers grade, the most-asked questions grouped by pattern, and a four-week plan built around that pace.

The Meta interview process, start to finish

Meta runs one central process for software engineers. Unlike Apple, where each team designs its own loop, Meta usually hires for the company first and matches you to a team afterward. The loop is therefore close to the same for everyone at a given level.

StageWhat happensLengthWhat it decides
Recruiter callBackground, level, and logistics20 to 30 minWhether you continue, and at which level
Technical phone screenTwo coding problems in a shared editor45 minWhether you reach the onsite
Onsite, codingTwo rounds: one classic, one AI-enabled45 and 60 minThe main technical signal
Onsite, behavioralPast projects, conflict, and ownership45 minFit with how Meta works
Onsite, designSystem design or product architecture45 min eachLevel, for mid-level and senior roles
Team matchingConversations with teams that have open rolesVariesWhich team you join

The design rounds depend on the level. New-grad loops (E3) usually have no design round. Mid-level loops (E4) usually have one, and senior and staff loops (E5 and above) can have two. Some intern and new-grad candidates also report an automated online assessment before the phone screen. Your recruiter confirms the exact loop in writing, so treat the table as the common case.

Meta's interview loop at a glance: a phone screen with two problems in 45 minutes, then an onsite with one classic coding round, one AI-enabled coding round, a behavioral round, and system design for senior levels

The phone screen: two problems in 45 minutes

The technical phone screen is one engineer, one shared editor, and usually two problems. Most candidates report CoderPad or a similar editor, with code execution turned off. A few minutes go to introductions at the start and to your questions at the end, which leaves about 35 to 40 minutes for both problems.

The two problems are typically one easy-to-medium problem and one medium problem. Both come from common patterns. Valid Palindrome II, Minimum Remove to Make Valid Parentheses, and Binary Tree Right Side View are typical examples from candidate reports.

Most rejections in the Meta process happen at this stage, and most of them are about time rather than knowledge. A candidate who solves the first problem slowly often does not reach a working version of the second one, and an unfinished second problem is usually a failed screen.

Because there is no run button, you prove the code works by tracing it. Walk through one small example line by line, then state the edge cases you checked: an empty input, a single element, and duplicates. Interviewers record this as verification, which is one of the four signals below.

The onsite coding rounds

The onsite has two coding rounds, and they now use two different formats.

The classic round

The classic round has the same shape as the phone screen: two problems, about 45 minutes, a blank editor, and no code execution. The problems are usually a little harder than the screen, and interviewers ask more follow-up questions. A common follow-up changes one constraint, for example "now the input does not fit in memory" or "now the array is sorted". Those follow-ups test whether you understood why your solution works.

The AI-enabled round

The second coding round gives you 60 minutes in a multi-file codebase with a built-in chat assistant. Instead of two short problems, you extend or fix existing code across several files. The interviewer grades the same four signals, plus how well you check and correct what the assistant produces. The format and the drills for it are covered in full in Meta's AI-Assisted Coding Interview.

The two rounds need the same foundation. Pattern recognition decides how quickly you plan a solution in the classic round, and it also decides how quickly you notice a wrong suggestion from the assistant in the AI-enabled round.

What Meta grades in every coding round

Meta interviewers score four signals and write them up after the round.

SignalWhat the interviewer looks forWhat loses it
Problem solvingA clear plan, stated before you code, with its time and space complexityCoding before you have a plan, or a brute force with no improvement
CodingCorrect, readable code written at a steady paceLong pauses, large rewrites, and unclear names
VerificationA traced example and named edge cases, without being askedDeclaring the code finished without testing it
CommunicationReasoning said out loud while you workSilence for more than a minute at a time

Communication matters more at Meta than candidates expect, because it is the only evidence of your reasoning that reaches the written feedback. A correct solution produced in silence leaves the interviewer with little to write about how you solved it. A short script helps: restate the problem, name the brute force in one sentence, name the pattern and the reason for it, then code while you narrate each decision. The full script is in How to Talk Through a Coding Problem.

The most-asked Meta coding interview questions, by pattern

Meta's question pool rotates, so no list predicts your exact problems. The patterns, however, stay stable, and the problems below appear repeatedly on public candidate-reported lists. Each one is a strong example of its pattern. Six of them are LeetCode Premium problems, which are marked.

PatternMost-asked problems (LeetCode number, difficulty)The tell
Stacks1249 Minimum Remove to Make Valid Parentheses (M), 921 Minimum Add to Make Parentheses Valid (M), 71 Simplify Path (M), 227 Basic Calculator II (M)brackets, a path to simplify, or an expression to evaluate
Two Pointers680 Valid Palindrome II (E), 125 Valid Palindrome (E), 88 Merge Sorted Array (E), 408 Valid Word Abbreviation (E, Premium)two positions that move toward each other or through two sequences
Tree DFS543 Diameter of Binary Tree (E), 938 Range Sum of BST (E), 236 Lowest Common Ancestor of a Binary Tree (M), 1650 Lowest Common Ancestor of a Binary Tree III (M, Premium)a tree, and a path, a depth, or an ancestor
Tree Level Order Traversal199 Binary Tree Right Side View (M), 314 Binary Tree Vertical Order Traversal (M, Premium)a tree, and an answer per level or per column
Matrix Traversal1091 Shortest Path in Binary Matrix (M), 994 Rotting Oranges (M)a grid, and the fewest steps or a spread over time
Merge Intervals56 Merge Intervals (M), 986 Interval List Intersections (M)start and end pairs that overlap
Prefix Sum560 Subarray Sum Equals K (M), 528 Random Pick with Weight (M)subarray totals, or a choice weighted by running totals
Top K Elements215 Kth Largest Element in an Array (M), 347 Top K Frequent Elements (M), 973 K Closest Points to Origin (M)"k largest", "k most frequent", or "k closest"
K-way Merge23 Merge k Sorted Lists (H)several sorted inputs that must become one
Monotonic Stack1762 Buildings With an Ocean View (M, Premium)each element compared with the next taller or shorter one
Binary search and fast power162 Find Peak Element (M), 50 Pow(x, n) (M)an O(log n) requirement, or a power computed by halving
Hash maps and small designs791 Custom Sort String (M), 1570 Dot Product of Two Sparse Vectors (M, Premium), 346 Moving Average from Data Stream (E, Premium)counting, a custom order, or a small class with two or three methods

Use the list as practice for each pattern, not as a list to memorize. Meta interviewers often change one detail of a well-known problem, and a memorized answer fails on that detail. A candidate who knows why the pattern works only needs to adjust one step.

The Meta coding interview pattern tiers: tier one is arrays and strings, BFS/DFS, intervals, and hash-plus-prefix; tier two is heaps, stacks including monotonic, sliding window, and binary search; tier three is DP, backtracking, and light design

The image above orders the same patterns by how much study time each one deserves. Arrays and strings, tree and graph traversal, intervals, and prefix sums come first. Heaps, stacks, sliding window, and binary search come second. Dynamic programming comes last, because Meta asks it much less often than Google does.

Grokking the Coding Interview teaches all 41 patterns this way: the tell that identifies each pattern, the template that solves it, and the variations interviewers use to change a familiar problem.

How to train for 20-minute problems

The pace is a skill that improves with targeted practice, and it improves fastest in this order.

  1. Learn the patterns without a timer first. Work through problems grouped by pattern until you can name the pattern within two minutes of reading a statement. A fast pace built on uncertain recognition breaks down under interview pressure.
  2. Then practice in Meta's format. Take two random medium problems, set a 45-minute timer, and solve both out loud without running the code. Do this twice a week in the final month.
  3. Record one session and count the silences. Every gap longer than about 30 seconds is a habit to remove, because the interviewer cannot score reasoning that you do not say.
  4. Test by tracing, not by running. After each solution, trace one small example aloud and name three edge cases. This is the verification signal, and it also prepares you for the AI-enabled round, where you check the assistant's code the same way.

How Meta compares with the other large loops

MetaGoogleAmazonApple
ProcessCentral and standardCentral and standardCentral and standardTeam by team
Problems per coding roundTwoOne, with follow-upsOne or twoOne or two
Algorithm difficultyMedium to hardHardMediumMedium, some hard
Speed pressureHighMediumMediumLower
Dynamic programmingLess commonCommonOccasionalLess common
Behavioral weightMediumMediumHigh, the leadership principlesMedium

The practical result: Meta gives you less time per problem and expects you to recognize the pattern quickly. Google gives you more time and expects you to push one problem further. For the other loops, see the guides to the Google coding interview, the Amazon coding interview, and the Apple coding interview.

Language choice at Meta

Meta lets you choose any mainstream language for the coding rounds, and it does not grade the choice. Choose the language you write fastest and most accurately, because the pace is the main constraint. Python has an advantage at Meta's pace for candidates who are equally comfortable in it, since the same solution usually needs fewer lines. The trade-offs for each language are in Which Language to Use for Coding Interviews.

A four-week plan for a Meta loop

This plan assumes you already know the common patterns. If you do not, put a six-week pattern foundation such as Grokking 75 in front of it rather than compressing both into four weeks.

Week 1: the first-tier patterns. Stacks, two pointers, and tree traversal, from the table above. At the end of each day, write one sentence for each pattern you practiced: "I should suspect this pattern when the problem says ___."

Week 2: intervals, prefix sums, and top K. Start timing single medium problems at 20 minutes each, out loud.

Week 3: the second-tier patterns and timed pairs. Monotonic stack, K-way merge, and binary search, plus two 45-minute timed pairs in Meta's format.

Week 4: full rounds only. Mixed timed pairs, two mock interviews with a person, and a review of every problem you missed earlier. Do not start new material in the final week.

Frequently asked questions

How many rounds are in the Meta coding interview? Most software engineering candidates have a recruiter call, one technical phone screen, and four to five onsite rounds. The onsite includes two coding rounds, one behavioral round, and one or two design rounds depending on the level.

How many questions are asked in a Meta coding round? Usually two, in about 45 minutes, in both the phone screen and the classic onsite round. That leaves about 20 minutes per problem after introductions, including the explanation and the testing.

Can you run your code in the Meta coding interview? Not in the phone screen or the classic onsite round, in most candidate reports. You prove the code works by tracing an example aloud and naming the edge cases you checked. The AI-enabled round uses a full coding environment instead.

Does Meta ask LeetCode questions? Meta asks problems that are the same as, or close to, well-known LeetCode problems, often with one detail changed. The pool rotates, so practice the patterns in the table above rather than memorizing a tagged list.

Is the Meta coding interview harder than Google's? The problems are usually easier than Google's, and the pace is faster. Google gives you one problem and pushes it further with follow-ups, while Meta gives you two problems in the same time. Candidates who recognize patterns quickly often find Meta easier, and candidates who need time to think often find it harder.

Does Meta ask dynamic programming questions? Sometimes, but much less often than Google does. Prepare the common patterns in the table first, and give dynamic programming only the time left after that. The six main families are in the dynamic programming patterns guide.

Can I use AI in Meta's coding interviews? Only in the one designated AI-enabled onsite round, where a chat assistant is built into the environment. The phone screen and the classic onsite round do not allow AI tools. The full format is in our guide to Meta's AI-enabled round.

How many LeetCode problems should I solve for Meta? Around 100 to 150 problems grouped by pattern is enough for most engineers, if they are followed by timed practice in Meta's two-problem format. Past that point, timed practice improves your result more than new problems do. The general numbers are in How Many LeetCode Problems.

Prepare with the pattern method: Grokking the Coding Interview: Patterns for Coding Questions covers all 41 patterns (30 common + 11 advanced) with the tell, the template, and the variations for each, plus more than 300 problems in Python, Java, JavaScript, C++, C#, and Go. It costs $79 once, with lifetime access. Four weeks out? Grokking 75 is the shorter track.

Grokking the Coding Interview
One-Stop Portal For Coding Interviews.
Follow us:
Copyright © 2025 Coding Interview All rights reserved.