Meta Interview Questions 2026

Published July 22, 2026 · Updated July 22, 2026

21 real interview questions asked at Meta. Covers System Design, DSA / Graphs, Behavioral, Domain, DSA / Arrays, AI / LLM Fine-tuning, Data Engineering / SQL Window Functions, React / Hooks, React / State Management, System Design / Social, JavaScript / Async, Kafka / Consumer Groups, Java / Memory. Reported by engineers who went through the Meta process.

Questions Interview GuidesInterview GuidesInterview Guides
21 questions
925 engineers asked
1336 upvotes

System Design (5)

Meta Hard System Design round Distributed SystemsKafkaMicroservices

Design Facebook's News Feed ranking system. How do you score posts from thousands of friends and pages? Cover: candidate generation, feature extraction, ML ranking model, how you handle near-real-time freshness, and edge vs server-side ranking for mobile clients.

↑ 83 upvotes · 81 engineers asked this · SDE2
Meta Hard System Design round Distributed SystemsKafkaAWS

Design Facebook Live - a system to stream live video from one user to potentially millions of concurrent viewers with low latency. Cover: ingest pipeline, transcoding, CDN edge caching, adaptive bitrate, and how you handle a celebrity going live.

↑ 71 upvotes · 48 engineers asked this · SDE2
Meta Hard System Design round Distributed SystemsKafka

Design WhatsApp's end-to-end encrypted messaging system. How do you exchange keys, store messages server-side without reading them, and handle multi-device sync? Cover the Signal Protocol basics.

↑ 65 upvotes · 43 engineers asked this · SDE2
Meta Hard System Design round Distributed SystemsKafkaRedis

Design Instagram Stories. A story disappears after 24 hours and is shown in a ring around profile pictures. Cover: upload pipeline, storage with TTL, efficient delivery to followers, and view count tracking at scale.

↑ 66 upvotes · 44 engineers asked this · SDE2
Meta Hard System Design round 6–10 YearsSystem DesignDistributed Systems

Design Instagram feed — a user follows 500 people, each posts 2-3 times daily. How do you generate and serve a personalized, ranked feed at scale?

↑ 148 upvotes · 119 engineers asked this · Senior SDE

DSA / Graphs (3)

Meta Hard Technical round JavaPythonDistributed Systems

Given Meta's social graph, find all friend-of-friend recommendations for a user that are not already friends. Discuss BFS at scale, how to prune the search space, and how to rank recommendations by mutual friend count efficiently.

↑ 54 upvotes · 54 engineers asked this · SDE2
Meta Medium Technical round PythonJava

Given a social graph, find all users within K hops of a given user. Implement BFS with a visited set. Then discuss how you would scale this to Meta's 3 billion user graph using partitioning.

↑ 58 upvotes · 37 engineers asked this · SDE1
Meta Hard Technical round 5-9 yearsJavaDistributed Systems

Given a social graph, find the shortest chain of mutual connections between two users (like LinkedIn's "degrees of connection"), and explain how bidirectional BFS improves performance over a single-direction BFS at this scale.

↑ 39 upvotes · 14 engineers asked this · Staff Engineer

Behavioral (3)

Meta Medium HR round

Tell me about a time you had to make a decision with incomplete data. Meta values moving fast — how did you balance the need for speed against the risk of being wrong? What would you do differently today?

↑ 87 upvotes · 33 engineers asked this · SDE1
Meta Medium HR round

Meta values moving fast. Describe a time you shipped something that later needed to be rolled back or significantly reworked. What was the cost and what did you learn about the balance between speed and reliability?

↑ 47 upvotes · 28 engineers asked this · SDE2
Meta Medium HR round 3-6 years

Describe a situation where you had to ship a feature you personally disagreed with. How did you handle it, and would you make the same call again?

↑ 26 upvotes · 12 engineers asked this · Senior SDE

Domain (1)

Meta Hard Technical round ReactJavaScript

Explain how React's virtual DOM diffing algorithm (reconciliation) works. Why is it O(n) instead of O(n3)? What are the assumptions it makes and when do those break down (causing performance issues)?

↑ 56 upvotes · 34 engineers asked this · SDE2

DSA / Arrays (1)

Meta Medium Technical round PythonJavaJavaScript

Given an array of N integers, find the maximum product subarray. Explain why you need to track both the maximum and minimum product ending at each position, and handle zeros and negative numbers.

↑ 52 upvotes · 33 engineers asked this · SDE1

AI / LLM Fine-tuning (1)

Meta Hard Scenario round 5–8 YearsLLMPythonML/AI

Your fine-tuned LLM performs well on your eval set but users report degraded responses 2 weeks after deployment. What is happening and what do you do?

↑ 104 upvotes · 82 engineers asked this · AI Engineer

Data Engineering / SQL Window Functions (1)

Meta Medium Technical round 3–6 YearsPython

What is the difference between RANK(), DENSE_RANK(), and ROW_NUMBER()? Give a real use case for each.

↑ 89 upvotes · 71 engineers asked this · Data Engineer

React / Hooks (1)

Meta Medium Technical round 4–6 YearsReactJavaScript

What is the difference between useMemo and useCallback? Give concrete examples of when each actually helps vs. when it hurts.

↑ 107 upvotes · 84 engineers asked this · Full Stack Developer

React / State Management (1)

Meta Hard Technical round 3-7 yearsReactJavaScript

A news feed component re-fetches and re-renders every item whenever a single like count changes. Walk through how you would restructure state so only the affected item re-renders, without introducing a global state library.

↑ 52 upvotes · 31 engineers asked this · Senior SDE

System Design / Social (1)

Meta Hard System Design round 4-8 yearsSystem DesignDistributed Systems

Design the "who viewed your profile" feature for a professional network with 500M users. Discuss write amplification, retention policy, and privacy controls for who can see the data.

↑ 47 upvotes · 16 engineers asked this · Senior SDE

JavaScript / Async (1)

Meta Medium Technical round 1-4 yearsJavaScript

Explain the output order of this code and why: console.log(1); setTimeout(()=>console.log(2),0); Promise.resolve().then(()=>console.log(3)); console.log(4);

↑ 41 upvotes · 38 engineers asked this · Senior SDE

Kafka / Consumer Groups (1)

Meta Hard Technical round 3-6 yearsKafka

You have a Kafka topic with 6 partitions and a consumer group with 10 consumer instances. What happens to the 4 extra consumers, and why is over-provisioning consumers like this a mistake?

↑ 23 upvotes · 12 engineers asked this · Senior SDE

Java / Memory (1)

Meta Hard Technical round 3-6 yearsJava

What is a memory leak in Java despite having a garbage collector? Give a concrete example involving a static collection.

↑ 21 upvotes · 11 engineers asked this · Senior SDE

Practice these questions with AI feedback

Get instant grading on your answers, identify your weak areas, and generate a personalised 14-day study plan — all free.

Build my study plan →

Meta interview guides by role

Meta SDE2 Guide Meta SDE1 Guide Meta Senior SDE Guide

Meta questions by technology

Meta Distributed Systems Meta Kafka Meta Java Meta Python Meta JavaScript

More companies

Amazon Google Microsoft Flipkart Swiggy Apple Netflix Uber Airbnb Stripe Razorpay PhonePe Paytm Zomato Salesforce Oracle Adobe LinkedIn Atlassian Accenture Deloitte Wipro Infosys TCS Capgemini PayU General Anthropic OpenAI TikTok JPMorgan Walmart Spotify DoorDash Goldman Sachs Revolut Canva Capital One Lyft SAP Siemens Shopify Grab Cognizant LTIMindtree Myntra Hotstar Twitter Snowflake

Frequently asked questions

Design Facebook's News Feed ranking system.
Design Facebook's News Feed ranking system. How do you score posts from thousands of friends and pages? Cover: candidate generation, feature extraction, ML ranking model, how you handle near-real-time freshness, and edge vs server-side ranking for mobile clients.
Given Meta's social graph, find all friend-of-friend recommendations for a user that are not already friends.
Given Meta's social graph, find all friend-of-friend recommendations for a user that are not already friends. Discuss BFS at scale, how to prune the search space, and how to rank recommendations by mutual friend count efficiently.
Tell me about a time you had to make a decision with incomplete data.
Tell me about a time you had to make a decision with incomplete data. Meta values moving fast — how did you balance the need for speed against the risk of being wrong? What would you do differently today?
Design Facebook Live - a system to stream live video from one user to potentially millions of concurrent viewers with low latency.
Design Facebook Live - a system to stream live video from one user to potentially millions of concurrent viewers with low latency. Cover: ingest pipeline, transcoding, CDN edge caching, adaptive bitrate, and how you handle a celebrity going live.
Design WhatsApp's end-to-end encrypted messaging system. How do you exchange keys, store messages server-side without reading them, and handle multi-device sync? Cover the Signal Protocol basics.
Design WhatsApp's end-to-end encrypted messaging system. How do you exchange keys, store messages server-side without reading them, and handle multi-device sync? Cover the Signal Protocol basics.