Meta interview prep

See what Meta asks, then get a plan for it

Real Meta frontend questions and candidate reports, turned into a week-by-week prep plan.

~2 min · free preview

Company prep

Meta Front End Interview Guide

The Meta frontend interview process, real questions, and candidate reports.

Questions
239
Reports
Solved
—

Verified by FrontendLead

Practice questions239

StatusQuestionSolution
Easy

Video Solution

Hard

Video Solution

Medium

Video Solution

Easy

Text Solution

Medium

Video Solution

Hard

Video Solution

Easy

Text Solution

Easy

Text Solution

Easy

Video Solution

Hard

Text Solution

Easy

Text Solution

Easy

Video Solution

Medium

Text Solution

Easy

Text Solution

Easy

Text Solution

Hard

Video Solution

Easy

Text Solution

Medium

Text Solution

Easy

Text Solution

Hard

Text Solution

Medium

Video Solution

Medium

Video Solution

Easy

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Text Solution

Easy

Video Solution

Medium

Text Solution

Easy

Text Solution

Easy

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Text Solution

Easy

Text Solution

Medium

Video Solution

Medium

Text Solution

Medium

Text Solution

Medium

Video Solution

Easy

Text Solution

Easy

Text Solution

Medium

Text Solution

Medium

Text Solution

Hard

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Text Solution

Easy

Text Solution

Medium

Text Solution

Medium

Text Solution

Hard

Text Solution

Medium

Text Solution

Hard

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Text Solution

Easy

Text Solution

Medium

Text Solution

Hard

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Text Solution

Hard

Text Solution

Medium

Video Solution

Medium

Text Solution

Medium

Text Solution

Hard

Text Solution

Medium

Text Solution

From the community

Interview reports

Meta frontend interviews test JavaScript and DOM fundamentals at speed: two utility problems per round, deep follow-ups, and a client-focused frontend design round.

This guide is built from 92 Meta (Facebook) interview reports shared by FrontendLead members between November 2023 and July 2026, cross-checked against Meta’s official interview prep guides. You’ll learn how each round works, why follow-ups sink people, and a prep plan that maps every round to practice on FrontendLead. The exact questions candidates were asked are in the members-only sections below.

The biggest pattern is repetition. Meta’s front end question pool is small, and members keep reporting the same set of JavaScript utility, timer, and DOM tree problems. Knowing the questions is not enough, though. Some members solved both problems quickly and were still rejected, and the common thread was shaky answers to follow-ups. Practice each problem until you can explain every line and handle the variations.

By Shivam Bhalla · Updated

01

Meta frontend interview at a glance

Timeline
About 4 to 8 weeks from first recruiter call to decision; team matching can add time
Process
Recruiter call, technical screen, full loop, then hiring review and team match
Full loop
4 to 6 interviews of about 45 minutes: usually 2 coding, 1 frontend design, 1 behavioral
Coding format
Two problems in about 40 minutes, in a plain editor where code is not run
Coding language
JavaScript for the front end track
Frameworks
Mostly vanilla JavaScript and DOM APIs; React is rarely required
Signature topic
JavaScript utilities, DOM APIs, timers, and async
Tracks
Software Engineer, Front End vs Software Engineer, Product (more LeetCode-style)
Leveling
E3 to E6; design and behavioral performance strongly influence level
02

Meta frontend interview process

Meta publishes separate prep guides for the front end initial interview and the full loop. Member reports match them closely, with one surprise: the recruiter call often includes a JavaScript quiz.

  1. 1

    Recruiter call

    About 30 minutes

    The first 20 minutes cover your background, your current project, and why Meta. The last 10 minutes are often a rapid-fire JavaScript and DOM quiz. One member prepared only behavioral answers and was caught off guard. Topics members reported include:

    • Closures and how this works
    • Function binding and variable scoping
    • Event handling and DOM loading events
    • The DOM as a tree and basic tree properties
    • Basic data structures and built-in collections

    Short, correct answers are enough.

  2. 2

    Technical screen

    45 to 60 minutes

    Meta’s official front end guide describes this as a 60-minute conversation with an engineer that assesses technical and behavioral skills. In practice, members almost always got two JavaScript problems, typically a JavaScript utility paired with a DOM tree or data-manipulation problem. The exact prompts are in the members-only sections below.

    Results come fast. Several members heard back the next day or within two days. Not every screen is front end flavored, though: some members applying for front end roles got two LeetCode-style mediums instead. Ask your recruiter which kind of screen to expect.

  3. 3

    Full loop

    4 to 6 interviews of about 45 minutes, often over 1 to 2 days

    Meta’s full loop guide says to expect 4 to 6 conversations of about 45 minutes, covering coding, design, and behavioral, with a few minutes at the end for your questions. Members on the front end track most often describe two coding rounds with two problems each, one frontend system design round, and one behavioral round. Virtual loops use CoderPad for coding and Excalidraw for design, so practice in both.

  4. 4

    Hiring review and team match

    Varies by team and timing

    Interviewers submit feedback, a review group makes the decision, and level is set. Meta often hires into a pool and then matches you with a team, so an offer can take longer than the loop itself. One member who landed an IC4 role reported eight weeks from first call to final decision.

03

Front end track vs Product track at Meta

Meta hires frontend-leaning engineers through two different loops, and the questions differ a lot. Many members who said “Meta asked me LeetCode” were on the Product track. Confirm which loop you’re in before you prepare.

Aspect Software Engineer, Front End Software Engineer, Product
Coding JavaScript utilities, DOM APIs, timers, async LeetCode-style data structures and algorithms
Typical focus JavaScript utilities, DOM manipulation, timers Arrays, intervals, caching, trees, heaps
Design round Frontend system design: components, state, API, performance Product architecture: APIs, data model, client-server boundaries
Language JavaScript Any mainstream language
Best prep FrontendLead’s Facebook-tagged questions Meta-tagged LeetCode mediums plus product design

Meta’s general full loop guide says you can code in whatever language you’re most comfortable with and that scripting languages tend to be easier in interviews. On the Product track, members recommend writing clean code with no unnecessary branches, running a test case by hand before the interviewer finds your bug, and thinking out loud the whole time.

04

Coding rounds: questions Meta candidates were asked

Every prompt below came up in member reports, most of them more than once. Expect two per round and plan for about 20 minutes each, including follow-ups.

Event emitter

Most common, phone screen and onsite

Implement subscribe (or on), emit, off, and often once. Members reported deep follow-ups: why use callback.apply(this, args), what happens when the same callback subscribes twice, how to handle a callback that throws, and the time complexity of each method. Returning a subscription object with its own release() method avoids the duplicate-callback problem.

Practice: Event Emitter and Event Emitter II.

Node store (DOMStore)

Very common, phone screen and onsite

Build a store with set(node, value), get(node), and has(node) where keys are DOM elements. The twist is the constraint: members were told they could not use Map, and sometimes not Symbol either. One member also warned that each new store instance must have its own data. The deep dive below shows a solution.

Practice: Node Store and Node Store II.

Filter items by an exclude list

Very common, phone screen

Given items like { type: 'phone', color: 'gold' } and excludes like { k: 'color', v: 'gold' }, return items that match none of the excludes. A double loop works, but the follow-up asks you to optimize. Convert excludes into a Map from key to a Set of values, then filter each item with constant-time lookups. Be ready to state the before and after complexity.

Find the corresponding node in two identical DOM trees

Common, phone screen and onsite

Given two trees with the same structure and a node in the first, return the matching node in the second. Walk up from the node to the root recording child indexes, then replay that path down the second tree. Interviewers asked about the worst case and whether you can do it without recursion.

Practice: Find Corresponding Node.

Improve a function

Common, phone screen and onsite

You get a slow, working function and must make it faster without changing its behavior. Start by stating the current complexity, then remove the nested scan with a hash-based lookup. Several members paired it with the event emitter in the same screen.

Practice: Improve a function.

Render a DOM tree from JSON

Common, onsite

Write createDom or a “simple React renderer” that turns { tagName, attrs, children } into real DOM nodes, with text children as strings. A reverse variant asks you to serialize a DOM tree into that JSON. One member’s follow-up added function components, where type can be a function you call to get the next node.

Practice: Create DOM, Virtual DOM I, and Virtual DOM II.

Build a mini testing framework

Onsite

Implement it(name, fn) and expect(value).toBe(expected), logging “Success” or “Failure” per test. A test fails if any assertion inside it fails, so toBe should throw and it should catch. One version also required not.toBe. A member who had never practiced this one said it threw them immediately.

Practice: Testing Framework.

Debounce and throttle, with twists

Very common, onsite

Members got debounce, then throttle as a follow-up, often with variations from the standard version. One throttle variant required a delay even before the first call. Clarify leading and trailing behavior, preserve this and arguments, and be ready to add cancel.

Practice: Debounce I, Throttle, and Throttle II.

Clear all timeouts

Common, phone screen and onsite

Wrap setTimeout and clearTimeout so a new clearAllTimeouts() cancels every pending timer. Interviewers asked for O(1) add and remove and checked for memory leaks: remove each id from your Set when the timer fires and when it’s cleared. One member’s version also had to work globally.

Practice: ClearAllTimeouts().

Animate an element to the right

Onsite, JavaScript and DOM round

Write animate(element, duration, distance) without CSS transitions. One member said the expected approach was 60 frames per second with a fixed distance per frame. A stronger answer uses requestAnimationFrame and computes position from elapsed time, so the animation finishes on time even when frames drop. A later follow-up added play and pause.

Practice: Animate Element To The Right.

Also reported: classNames, memoize (including async functions and object arguments; see Memoize II), curry, flatten both recursively and iteratively, text between two DOM nodes, a Promise class, an m-by-n tic-tac-toe winner check, an async callback queue that runs at most two tasks at once with FIFO or LIFO ordering (similar to Asynchronous Request Queue), and a decryption class where each message yields the key for the next one.

05

Deep dive: Meta’s JavaScript and DOM follow-ups

Because the pool is small, Meta interviewers separate candidates through follow-ups. Members who memorized solutions often stalled when the constraint changed. Here is what a strong answer looks like for the node store, the most constraint-heavy question.

“Store values keyed by DOM nodes, without Map.”

If WeakMap is allowed, use it and say why: entries disappear when the node is garbage collected, so the store never leaks removed elements. When it isn’t allowed, tag each node with a hidden, per-instance property that holds an id, and keep values in a plain object.

let storeCount = 0;

class NodeStore {
  constructor() {
    this.key = `__nodeStore${storeCount++}`;
    this.values = Object.create(null);
    this.nextId = 0;
  }

  set(node, value) {
    if (!Object.prototype.hasOwnProperty.call(node, this.key)) {
      Object.defineProperty(node, this.key, {
        value: String(this.nextId++),
        enumerable: false,
      });
    }
    this.values[node[this.key]] = value;
  }

  has(node) {
    return Object.prototype.hasOwnProperty.call(node, this.key) &&
      node[this.key] in this.values;
  }

  get(node) {
    return this.has(node) ? this.values[node[this.key]] : undefined;
  }

  delete(node) {
    if (this.has(node)) delete this.values[node[this.key]];
  }
}

Talk through the trade-offs before the interviewer asks. Every operation is O(1). A per-instance key keeps two stores from overwriting each other. A non-enumerable property stays out of for...in loops and JSON. The downside is that you mutate nodes you don’t own, and values stay in memory until you delete them.

Follow-ups members reported on other questions:

  • Event emitter: what if a listener unsubscribes during emit? Copy the listener list before iterating. What if one throws? Catch it, keep notifying the rest, then report the error.
  • Clear all timeouts: is there a leak? Delete ids when timers fire, not only when they’re cleared.
  • Memoize: how do you key object arguments? Explain why JSON.stringify is fragile and offer a resolver function or nested WeakMap cache.
  • Exclude list: what is the complexity before and after? Go from O(n × m) to O(n × k), where k is the number of keys per item.
  • Any question: walk through test cases out loud. One senior member’s onsite round focused on presenting test cases and explaining each step of running them.

“I’d use a WeakMap so removed nodes can be garbage collected. Since Map types are off the table, I’ll tag each node with a non-enumerable, per-instance key and keep values in a prototype-free object, so every operation stays O(1).”

06

Meta frontend system design questions

Front end track design rounds focus on the client: components, state, API shape, and performance. One member said their round covered autocomplete, performance, API interfaces, and frontend engineering, with no services or databases required. Meta’s interviewers typically expect you to drive the conversation.

Typeahead or autocomplete search

Most common, onsite

Several members got this, one at “Facebook level of data.” Cover debouncing input, cancelling stale requests, a client-side cache of recent queries, keyboard navigation and ARIA roles, and highlighting matches. One member added debounce and infinite scroll on their own but forgot caching, and felt it cost them.

Study: Design Auto Complete Search.

Pinterest-style masonry feed

Senior, onsite

Members were asked about the server API schema, memory efficiency, balancing images with variable heights, and handling failures. Have the server return image dimensions so you can place items before images load, then virtualize off-screen items and use cursor pagination.

Study: Design Pinterest and practice Masonry Grid.

News feed with live-updating comments

Onsite

Design a feed where comment lists update automatically. Discuss a normalized store, cursor-based pagination, how new comments arrive (polling, SSE, or WebSocket), and how to insert them without shifting what the user is reading. One member who struggled here said it was the round they most needed to improve.

Study: Design Facebook Newsfeed.

Internationalization (i18n) system

E4, product architecture

Design how a product loads and renders translated strings. Cover message keys and pluralization, per-locale bundles loaded on demand, fallbacks for missing strings, right-to-left layout, and date and number formatting with the Intl APIs.

Study: Design A Scalable Frontend Architecture.

Real-time dashboard with a map

Onsite

One member had to design a dashboard showing newly registered users, including a map, and found it hard to structure. A similar senior prompt asked for a food delivery system with live order tracking. Start with update frequency, choose push vs polling, batch updates per frame, and cluster map markers at low zoom.

Study: Design an Observability Dashboard and Design Uber.

Collaborative document editor

Full-stack, onsite

A full-stack member was asked to design a collaborative editor and discussed WebSockets, operational transforms, and conflict resolution. Expect more backend depth on full-stack loops.

Study: Design a Collaborative Editor.

07

Behavioral interview at Meta

Meta’s full loop guide frames the behavioral round around a few themes: resolving conflict, growing continuously, embracing ambiguity, driving results, and communicating effectively. Expect four or five questions with follow-ups on each, so every story needs specific details you can expand on.

Questions members were asked:

  • Tell me about your biggest conflict with a coworker, with a manager, and with another team.
  • Someone is delaying work you depend on. What do you do?
  • An urgent user need will block your team if you don’t handle it, and only you can do it. How do you handle it?
  • Tell me about a time you had to debug a difficult issue.
  • Walk me through a project you’re proud of.
  • What’s your experience with frontend performance optimization?

One member described feeling unprepared for the conflict questions and hesitating on several answers. Prepare at least two conflict stories, since interviewers often ask for more than one. Meta’s values include “Move fast” and “Focus on long-term impact,” so stories that show you shipping quickly while keeping quality pay off.

08

What changes by level at Meta

Meta uses E-levels (also written IC or L). Member reports and public sources suggest the coding rounds mostly decide hire or no hire, while design and behavioral rounds shape the level. Treat this as a guide and confirm the loop with your recruiter.

Level Typical loop What interviewers look for
E3 (entry) Coding-heavy, often JavaScript fundamentals; little or no design Correct code, clean complexity analysis
E4 2 coding, 1 design, 1 behavioral Working solutions to both problems and a reasonable design
E5 (senior) 2 coding, 1 design, 1 behavioral Fast, clean coding with strong follow-ups; a design you drive yourself
E6 (staff) Often an extra design round, sometimes in place of a coding round Cross-team scope in behavioral stories and trade-offs across client and server

New grad and intern loops lean hardest on fundamentals. Members reported pure JavaScript rounds with almost no resume discussion, each pairing two utility or DOM problems.

09

How to prepare for the Meta frontend interview

Meta rewards depth on a known set of questions more than breadth across hundreds. Practice without running your code, since Meta’s interviewers won’t compile it, and time yourself at 20 minutes per problem.

Three-week plan

Days Focus Practice
1 to 2 Recruiter quiz fundamentals Trivia questions on closures, this, and event delegation; Custom “this” Methods
3 to 5 JavaScript utilities Event Emitter, Improve a function, ClassNames, Node Store
6 to 8 DOM trees Find Corresponding Node, Create DOM, Virtual DOM II
9 to 11 Timers and async Debounce I, Throttle II, ClearAllTimeouts(), Animate Element To The Right
12 to 13 Testing and functional utilities Testing Framework, Memoize II, Curry Function
14 to 17 Frontend system design Autocomplete, News Feed, Pinterest
18 to 19 Behavioral Write six stories covering conflict, ambiguity, and results; see behavioral questions
20 to 21 Mock loop Two timed 45-minute rounds with two problems each, coded in a plain editor

After the plan, work through the full list of Facebook-tagged coding questions and redo any you couldn’t finish in 20 minutes. If you’re on the Product track, swap days 3 to 13 for Meta-tagged LeetCode mediums. The study plans page can turn your interview date into a daily schedule.

10

Meta frontend interview FAQ

How long is the Meta frontend interview process?

Usually four to eight weeks from the first recruiter call to a decision. Phone screen results often arrive within one or two days. Team matching after the loop can add a few weeks.

Does Meta ask LeetCode questions for frontend roles?

On the Software Engineer, Front End track, coding rounds are mostly JavaScript and DOM problems rather than classic algorithms. On the Software Engineer, Product track, expect LeetCode-style mediums. Some front end screens also included algorithm questions, so confirm the format with your recruiter.

Can I use React in Meta frontend interviews?

Most members wrote vanilla JavaScript, and few rounds required a framework. One member had a React-based screen. Prepare in plain JavaScript and DOM APIs first, and ask your recruiter if a UI-building round is part of your loop.

What does the Meta recruiter call ask?

Your background and why Meta, followed by a short JavaScript quiz on closures, this, call and apply, var vs let vs const, event delegation, and how the DOM is structured as a tree.

How many questions are in each Meta coding round?

Usually two in about 40 minutes. Meta’s full loop guide says the same. Aim to finish the first in about 15 to 20 minutes so you have time for the second and its follow-ups.

Can I fail if I don’t finish one of the two problems?

It is possible but not automatic. Interviewers grade communication, problem solving, code quality, and verification, not just completion. Some members were rejected after finishing both problems, which suggests follow-ups and code quality carry real weight.

What are the most common Meta frontend interview questions?

Member reports cluster around JavaScript utilities, timers, DOM tree traversal and rendering, data filtering and optimization, and a client-focused design round. The exact questions are in the members-only sections above.