Meta Interview Prep (E3 / E4 / E5)

Meta runs the fastest coding rounds in big tech. The standard round is two problems in 45 minutes, which means roughly 20 minutes each including clarification, code, and a dry run. Candidates who can solve both but solve them slowly fail this round routinely.

The compensating advantage is that Meta’s tagged list is the most predictable on this site. It is stable year to year, and the high-frequency head of it clusters tightly on string parsing and binary trees rather than the graph theory Google leans on. Working the list below properly is a higher-yield use of your hours at Meta than at any other company here.


Interview Process

Stage Duration Focus
Recruiter Screen 30 min Background, target level, timeline
Technical Phone Screen 45 min 2 coding problems, medium
Onsite: Coding (Ninja) 1 45 min 2 problems in the round
Onsite: Coding (Ninja) 2 45 min 2 problems, or the AI-enabled format
Onsite: Design (Pirate) 45 min System design or product architecture
Onsite: Behavioural (Jedi) 45 min Values, conflict, impact
Team Matching 30-45 min After the loop, unscored but decisive

Meta’s rounds carry internal nicknames you will hear from recruiters: coding rounds are Ninja, design rounds are Pirate, and the behavioural round is Jedi. Which design round you get depends on your background — infrastructure candidates get system design, product engineers get product architecture, which is APIs, data models, and the client-server boundary rather than distributed-systems internals.

E3 usually has no design round. E4 adds one. At E4 the design and behavioural rounds are what determine your level, so strong coding with a thin behavioural round often produces a down-level rather than an offer. Hiring is centralised and team matching happens after the loop, so a good loop with no team match can still stall.


What Meta Actually Tests

Derived from 1399 reported Meta-tagged problems. Difficulty mix:

Difficulty Count Share
Easy 427 31%
Medium 763 55%
Hard 209 15%

Hard problems are a real but minority share. Medium fluency wins most rounds; Hard shows up late in the loop.

Where those problems fall by pattern:

Rank Pattern Problems Share of list
1 Arrays & Hashing 307 22%
2 Dynamic Programming 175 13%
3 Trees 136 10%
4 Sliding Window & Two Pointers 122 9%
5 Graphs 92 7%
6 Strings 91 7%
7 Binary Search 87 6%
8 Math & Bit Manipulation 81 6%
9 Intervals, Greedy & Sorting 65 5%
10 Stack & Monotonic Stack 56 4%

Meta Signature Problems

These rank high on Meta’s list but are reported by few other companies — the questions that are distinctively theirs rather than generic interview classics. The last column is how many of the 142 companies on this site report each one.

# Problem Pattern Difficulty Also asked at Link
1 Minimum Remove to Make Valid Parentheses Stack Medium 10 of 142 Solve →
2 Valid Word Abbreviation Two Pointers Easy 6 of 142 Solve →
3 Binary Tree Vertical Order Traversal Binary Tree + BFS Medium 10 of 142 Solve →
4 Lowest Common Ancestor of a Binary Tree III Lowest Common Ancestor + Binary Lifting Medium 10 of 142 LeetCode →
5 Nested List Weight Sum BFS + DFS Medium 6 of 142 Solve →
6 Buildings With an Ocean View Monotonic Stack Medium 4 of 142 LeetCode →
7 Sum Root to Leaf Numbers Binary Tree + DFS Medium 7 of 142 Solve →
8 Range Sum of BST BST + Binary Tree Easy 6 of 142 LeetCode →
9 Custom Sort String Sorting + Hash Table Medium 5 of 142 LeetCode →
10 Minimum Add to Make Parentheses Valid Bracket Sequences + Stack Medium 7 of 142 Solve →
11 Convert Binary Search Tree to Sorted Doubly Linked List Doubly Linked List + BST Medium 4 of 142 LeetCode →
12 Insert into a Sorted Circular Linked List Linked List Medium 4 of 142 LeetCode →
13 Group Shifted Strings Hash Table + String Medium 3 of 142 LeetCode →
14 Valid Palindrome III DP Hard 2 of 142 LeetCode →

If you are short on time, these carry more Meta-specific signal per hour than the universal top-100 lists.


Reported in the Last Six Months

The recency-filtered slice of Meta’s list, ranked by how often each was reported. Expect heavy overlap with the all-time classics — that overlap is the point, it means these stay in rotation.

# Problem Pattern Difficulty Link
1 Two Sum Hash Table + Array Easy Solve →
2 Best Time to Buy and Sell Stock DP Easy Solve →
3 Subarray Sum Equals K Prefix Sum Medium Solve →
4 Longest Substring Without Repeating Characters Sliding Window Medium Solve →
5 Median of Two Sorted Arrays Divide and Conquer + Binary Search Hard Solve →
6 Remove Duplicates from Sorted Array Two Pointers Easy Solve →
7 Add Two Numbers Linked List Medium Solve →
8 Valid Parentheses Bracket Sequences + Stack Easy Solve →
9 Valid Palindrome Two Pointers Easy Solve →
10 3Sum Two Pointers Medium Solve →
11 Minimum Remove to Make Valid Parentheses Stack Medium Solve →
12 Valid Word Abbreviation Two Pointers Easy Solve →
13 Next Permutation Two Pointers Medium Solve →
14 Kth Largest Element in an Array Quickselect + Divide and Conquer Medium Solve →
15 Palindrome Number Math Easy Solve →

System Design (HLD) Problems Asked at Meta

# Problem Difficulty Link
1 Instagram (Photo Sharing) Advanced Read →
2 News Feed / Timeline Intermediate Read →
3 Chat System (Messenger / WhatsApp) Intermediate Read →
4 Notification System Intermediate Read →
5 Trending Topics Intermediate Read →
6 Nearby Friends (Proximity Service) Intermediate Read →
7 Ad Click Aggregation Advanced Read →
8 Search Autocomplete (Typeahead) Intermediate Read →
9 Leaderboard Intermediate Read →
10 Rate Limiter Beginner Read →

DSA Problems Asked at Meta

82 problems across 12 pattern groups. Each group is allocated in proportion to its real share of Meta’s tagged list, then filled with the highest-frequency problems in that group — so the weight here matches the distribution above rather than burying graph and tree work under the usual array classics.

Sliding Window & Two Pointers

Linear-time scans over arrays and strings. High volume, low variance — these should be automatic. Showing the top 14 of 15 on the list.

# Problem Pattern Difficulty Link
1 Valid Word Abbreviation Two Pointers Easy Solve →
2 Valid Palindrome II Greedy + Two Pointers Easy Solve →
3 Merge Sorted Array Two Pointers Easy Solve →
4 Valid Palindrome Two Pointers Easy Solve →
5 Next Permutation Two Pointers Medium Solve →
6 Interval List Intersections Sweep Line + Two Pointers Medium LeetCode →
7 Minimum Window Substring Sliding Window Hard Solve →
8 3Sum Two Pointers Medium Solve →
9 Longest Substring Without Repeating Characters Sliding Window Medium Solve →
10 Remove Duplicates from Sorted Array Two Pointers Easy Solve →
11 Move Zeroes Two Pointers Easy Solve →
12 Remove Nth Node From End of List Linked List + Two Pointers Medium Solve →
13 Container With Most Water Greedy + Two Pointers Medium Solve →
14 Contains Duplicate II Sliding Window Easy Solve →

Trees

Recursion discipline: what you return up, what you pass down. Follow-ups usually push from recursive to iterative. All 13 on the list.

# Problem Pattern Difficulty Link
15 Binary Tree Vertical Order Traversal Binary Tree + BFS Medium Solve →
16 Lowest Common Ancestor of a Binary Tree III Lowest Common Ancestor + Binary Lifting Medium LeetCode →
17 Diameter of Binary Tree DP on Trees + Binary Tree Easy Solve →
18 Lowest Common Ancestor of a Binary Tree Lowest Common Ancestor + Binary Lifting Medium Solve →
19 Binary Tree Right Side View Binary Tree + BFS Medium Solve →
20 Sum Root to Leaf Numbers Binary Tree + DFS Medium Solve →
21 Range Sum of BST BST + Binary Tree Easy LeetCode →
22 Vertical Order Traversal of a Binary Tree Binary Tree + BFS Hard Solve →
23 All Nodes Distance K in Binary Tree Binary Tree + BFS Medium LeetCode →
24 Convert Binary Search Tree to Sorted Doubly Linked List Doubly Linked List + BST Medium LeetCode →
25 Closest Binary Search Tree Value BST + Binary Tree Easy LeetCode →
26 Binary Search Tree Iterator Iterator + BST Medium LeetCode →
27 Sliding Window Median Treap + Sliding Window Hard LeetCode →

Half of these are binary search on the answer, not on an array. Learn to spot the monotonic predicate. All 8 on the list.

# Problem Pattern Difficulty Link
28 Random Pick with Weight Randomized + Prefix Sum Medium LeetCode →
29 Find Peak Element Binary Search Medium Solve →
30 Max Consecutive Ones III Sliding Window + Prefix Sum Medium Solve →
31 Find First and Last Position of Element in Sorted Array Binary Search Medium Solve →
32 Kth Missing Positive Number Binary Search Easy Solve →
33 Median of Two Sorted Arrays Divide and Conquer + Binary Search Hard Solve →
34 Koko Eating Bananas Binary Search Medium Solve →
35 Search in Rotated Sorted Array Binary Search Medium Solve →

Stack & Monotonic Stack

Nearest-greater, parsing, and span problems. The monotonic variant is the one people miss. All 7 on the list.

# Problem Pattern Difficulty Link
36 Minimum Remove to Make Valid Parentheses Stack Medium Solve →
37 Basic Calculator II Stack Medium Solve →
38 Simplify Path Stack Medium Solve →
39 Buildings With an Ocean View Monotonic Stack Medium LeetCode →
40 Valid Parentheses Bracket Sequences + Stack Easy Solve →
41 Minimum Add to Make Parentheses Valid Bracket Sequences + Stack Medium Solve →
42 Exclusive Time of Functions Stack Medium LeetCode →

Strings

Parsing, transformation, and in-place edits. Clarify the character set and whitespace rules before you start. All 7 on the list.

# Problem Pattern Difficulty Link
43 Custom Sort String Sorting + Hash Table Medium LeetCode →
44 Valid Number String Hard Solve →
45 Add Strings Simulation + Math Easy Solve →
46 Group Shifted Strings Hash Table + String Medium LeetCode →
47 Goat Latin String Easy LeetCode →
48 Roman to Integer Math + Hash Table Easy Solve →
49 Group Anagrams Sorting + Hash Table Medium Solve →

Graphs

Traversal, connectivity, ordering, and shortest paths. The hardest bucket to fake — either you have drilled it or you have not. All 6 on the list.

# Problem Pattern Difficulty Link
50 Nested List Weight Sum BFS + DFS Medium Solve →
51 Making A Large Island Union-Find + BFS Hard Solve →
52 Clone Graph Graph + BFS Medium LeetCode →
53 Course Schedule DAG + Topological Sort Medium Solve →
54 Number of Islands Union-Find + BFS Medium Solve →
55 Accounts Merge Union-Find + BFS Medium LeetCode →

Dynamic Programming

State definition is the whole battle. Say the recurrence out loud before you write the table. All 6 on the list.

# Problem Pattern Difficulty Link
56 Best Time to Buy and Sell Stock DP Easy Solve →
57 Palindromic Substrings Two Pointers + DP Medium Solve →
58 Trapping Rain Water Monotonic Stack + Two Pointers Hard Solve →
59 Maximum Subarray Divide and Conquer + DP Medium Solve →
60 Generate Parentheses Bracket Sequences + Backtracking Medium Solve →
61 Valid Palindrome III DP Hard LeetCode →

Arrays & Hashing

Prefix sums, counting, and grid walks. The warm-up round, and the one people get careless on. All 6 on the list.

# Problem Pattern Difficulty Link
62 Two Sum Hash Table + Array Easy Solve →
63 Subarray Sum Equals K Prefix Sum Medium Solve →
64 Pow(x, n) Recursion + Math Medium LeetCode →
65 Shortest Path in Binary Matrix BFS Medium Solve →
66 Diagonal Traverse Simulation + Matrix Medium Solve →
67 Palindrome Number Math Easy Solve →

Backtracking

Enumerate with pruning. Interviewers look for a clean choose, explore, unchoose loop and a real complexity bound. All 4 on the list.

# Problem Pattern Difficulty Link
68 Robot Room Cleaner Interactive + Backtracking Hard LeetCode →
69 Subsets Backtracking + Bit Manipulation Medium Solve →
70 Expression Add Operators Backtracking Hard LeetCode →
71 Letter Combinations of a Phone Number Backtracking Medium Solve →

Heap / Priority Queue

Top-k, streaming medians, and scheduling. Usually the difference between a passing and a timing-out solution. All 4 on the list.

# Problem Pattern Difficulty Link
72 Kth Largest Element in an Array Quickselect + Divide and Conquer Medium Solve →
73 Top K Frequent Elements Quickselect + Bucket Sort Medium Solve →
74 K Closest Points to Origin K-D Tree + Quickselect Medium LeetCode →
75 Merge k Sorted Lists Tournament Sort + Merge Sort Hard Solve →

Linked List

Pointer surgery under time pressure. Draw the nodes before you write the reassignments. All 4 on the list.

# Problem Pattern Difficulty Link
76 Copy List with Random Pointer Linked List Medium LeetCode →
77 Add Two Numbers Linked List Medium Solve →
78 Insert into a Sorted Circular Linked List Linked List Medium LeetCode →
79 Merge Two Sorted Lists Linked List Easy Solve →

Design (Coding)

Build a data structure to a spec. Graded on API shape and the complexity of each operation, not just correctness. All 3 on the list.

# Problem Pattern Difficulty Link
80 Dot Product of Two Sparse Vectors Linear Algebra + Design Medium Solve →
81 LRU Cache Doubly Linked List + Design Medium Solve →
82 Moving Average from Data Stream Data Stream + Queue Easy Solve →

Meta’s Favourite Patterns (Ranked)

Rank Pattern Frequency Problems on list Start with
1 Sliding Window & Two Pointers Very High 15 (17%) Valid Word Abbreviation, Valid Palindrome II, Merge Sorted Array
2 Trees High 13 (14%) Binary Tree Vertical Order Traversal, Lowest Common Ancestor of a Binary Tree III, Diameter of Binary Tree
3 Binary Search High 8 (9%) Random Pick with Weight, Find Peak Element, Max Consecutive Ones III
4 Stack & Monotonic Stack Medium-High 7 (8%) Minimum Remove to Make Valid Parentheses, Basic Calculator II, Simplify Path
5 Strings Medium-High 7 (8%) Custom Sort String, Valid Number, Add Strings
6 Graphs Medium-High 6 (7%) Nested List Weight Sum, Making A Large Island, Clone Graph
7 Dynamic Programming Medium 6 (7%) Best Time to Buy and Sell Stock, Palindromic Substrings, Trapping Rain Water
8 Arrays & Hashing Medium 6 (7%) Two Sum, Subarray Sum Equals K, Pow(x, n)
9 Backtracking Medium 4 (4%) Robot Room Cleaner, Subsets, Expression Add Operators
10 Heap / Priority Queue Medium 4 (4%) Kth Largest Element in an Array, Top K Frequent Elements, K Closest Points to Origin

How to read this: the top three rows are where your preparation hours should go. A candidate fluent in Sliding Window & Two Pointers, Trees, Binary Search covers the bulk of what Meta actually asks. The rest is insurance for the one round that goes somewhere unexpected.


Meta’s Signature Question Style

Meta’s questions are shaped by the 20-minute budget, and that shows in what they pick. The pattern is consistent enough to prepare for directly.

Trait What it means for you
Two problems in one 45-minute round Each problem is short to state and short to code. Nothing with a long setup.
Strings and parsing dominate the top of the list Parentheses validation, palindrome variants, abbreviation matching, calculator parsing, path simplification.
Trees are the second cluster Traversal orders, vertical and side views, diameter, lowest common ancestor including the parent-pointer variant.
Design-a-structure shows up as a full problem Weighted random pick, sparse vectors, nested list iteration. Graded on the API and per-operation complexity.
Follow-ups are usually a constraint change, not a new problem “Now the tree has parent pointers.” “Now it streams.” Budget a couple of minutes for it.
Graph theory is comparatively rare Meta asks far less Dijkstra and topological sort than Google. Do not over-invest here.

The practical consequence: practice pairs of problems against a clock rather than single problems untimed. Fluency on a known problem is worth more at Meta than range across unfamiliar ones.


The AI-Enabled Coding Round (Rolling Out)

Meta began rolling out an AI-enabled coding format that replaces one of the two traditional coding rounds. It is not universal — whether you get it depends on your level, team, and when you interview, so confirm your loop with your recruiter rather than assuming either format.

Reported shape: you work inside a small existing codebase with an AI assistant available in a chat panel, and the round moves through three escalating phases.

Phase What you are asked to do
Bug fix Find and fix a defect in code you did not write. Tests you to read unfamiliar code quickly.
Feature implementation Add a working feature to the existing structure, matching its conventions.
Optimisation Make it faster or cheaper, and say what you traded away.

What changes about preparation:

  • The assistant answers in chat and does not edit your files. You still type every line. Fluency in your language matters as much as before.
  • It can be wrong, and the round is partly about noticing. Treat generated code as a draft to review. Accepting a plausible but incorrect suggestion is the failure mode this format is designed to surface.
  • Reading code is now a graded skill. Practice landing a fix in a repository you have never seen, not just writing functions from a blank editor.
  • Say why you are asking the assistant what you are asking it. The signal is judgment and delegation, not typing speed.

Jedi Round Questions (Behavioural)

# Question
1 Tell me about a project where you had to move fast with incomplete information.
2 Tell me about the piece of work you are most proud of and the impact it had.
3 Tell me about a time you disagreed with your manager or a senior engineer.
4 Tell me about a time you gave someone difficult feedback directly.
5 Tell me about a time you had to choose between shipping and getting it right.
6 Tell me about a conflict with a cross-functional partner and how it ended.
7 Tell me about a time you changed direction because the data said so.
8 What is the most impactful thing you have done that nobody asked you to do?

Prepare three or four stories you can defend at decision level, not ten summaries. At E5 the interviewer often spends the whole 45 minutes on two stories and keeps pulling the thread until they reach the actual trade-off you weighed. Surface-level answers collapse under that. Tie stories to Meta’s stated values where it is honest to do so — moving fast, long-term impact, and being direct are the ones that come up.


14-Day Prep Plan

Built from the pattern ranking above, so the heaviest topics get the most time.

Day Focus Problems
1 Sliding Window & Two Pointers (part 1) Valid Word Abbreviation, Valid Palindrome II, Merge Sorted Array
2 Sliding Window & Two Pointers (part 2) Valid Palindrome, Next Permutation, Interval List Intersections
3 Trees (part 1) Binary Tree Vertical Order Traversal, Lowest Common Ancestor of a Binary Tree III, Diameter of Binary Tree
4 Trees (part 2) Lowest Common Ancestor of a Binary Tree, Binary Tree Right Side View, Sum Root to Leaf Numbers
5 Binary Search (part 1) Random Pick with Weight, Find Peak Element, Max Consecutive Ones III
6 Binary Search (part 2) Find First and Last Position of Element in Sorted Array, Kth Missing Positive Number, Median of Two Sorted Arrays
7 Stack & Monotonic Stack Minimum Remove to Make Valid Parentheses, Basic Calculator II, Simplify Path
8 Strings Custom Sort String, Valid Number, Add Strings
9 Graphs Nested List Weight Sum, Making A Large Island, Clone Graph
10 Dynamic Programming Best Time to Buy and Sell Stock, Palindromic Substrings, Trapping Rain Water
11 Arrays & Hashing Two Sum, Subarray Sum Equals K, Pow(x, n)
12 Mock round Two problems in 45 minutes, timed, no hints. Simulate the real round.
13 Revision Redo the problems you failed or needed a hint on.
14 Light review + rest Re-read your pattern notes. Sleep early.

Tips for Meta Interviews

  1. Budget 20 minutes per problem and mean it. Practice with a timer and two problems per sitting. The most common Meta failure is solving both problems but only finishing one.
  2. Work the tagged list. It pays off more here than anywhere. Meta reuses questions heavily and the list above barely shifts year to year. Drawing a problem you have already solved is a realistic expectation at Meta, not wishful thinking.
  3. Expect strings and trees, not graph theory. Meta’s highest-frequency problems cluster around string validation, parentheses and parsing, binary tree traversal, and lowest common ancestor. Allocate hours accordingly.
  4. Skip brute force and state the optimal approach up front. With 20 minutes per problem there is no room for a throwaway first solution. Say the complexity you are targeting, get agreement, then write it.
  5. Dry-run your code before saying you are done. Meta interviewers expect you to trace one small input yourself and catch your own off-by-one. Compiling is not the bar; correctness you demonstrated is.
  6. Product architecture is not distributed systems. If you get that round, prioritise API shape, the data model, what the client caches, and how the product evolves. Do not reach for sharding strategies the question did not ask for.
  7. The Jedi round sets your level. A weak behavioural round at E4 or E5 reads as insufficient scope and produces a down-level. Prepare it with the same seriousness as the coding rounds.

Other Company Prep


Round structures here reflect commonly reported candidate experience rather than official Meta documentation. The AI-enabled coding format is being rolled out progressively and is not present in every loop — ask your recruiter which format your onsite will use.