Meta Interview Questions

Meta Data Manipulation (SQL/Python) Interview Questions

Practice 1,159 real Meta interview questions for 2026. Covers top categories — Coding & Algorithms, Analytics & Experimentation, Data Manipulation (SQL/Python), Behavioral & Leadership, and System Design — across Software Engineer, Data Scientist, Machine Learning Engineer, Data Engineer, and Product Manager roles. Real questions from actual interviews with detailed solutions. Expect a software-engineering-heavy loop: timed algorithmic coding (trees, arrays, graph/maze problems, delimiter/CSV parsing), system-design prompts like leaderboards, flight search and online-judge architectures, and an increasingly common AI-assisted coding round that mirrors real workflows. Data Scientist rounds emphasize product analytics and experimentation—designing tests, diagnosing spend drops and bots, evaluating unconnected content, and writing SQL for multi-account, seller, and vehicle metrics. Machine Learning Engineer questions skew toward recommender and ranking work (place and friend recommendation, sparse-matrix ops, linear-regression derivations, newsfeed dislike models). Data Engineers focus on data modeling, ETL, capacity calculations, reservations/utilization queries, and production SQL/Python tasks. For interview preparation, prioritize timed coding practice, system-design templates, rigorous SQL drills (joins/CTEs/aggregation), clear A/B-testing frameworks, and concise STAR behavioral stories tied to measurable impact.

1.2k Questions 1 Company07.06.2026
Showing 20 results
Role
Meta logo
Meta
Hard
Software Engineer

Solve common array/string/linked-list tasks

You may be asked one or more of the following independent coding tasks. For each task, implement an efficient algorithm and clearly state time/space c...

Coding & Algorithms
5
0
46 people solved
Oct 21, 2025
Meta logo
Meta
Medium
Data Scientist

Construct a 95% Confidence Interval for Comment Counts

Construct a 95% Confidence Interval for Comment Counts Comment Activity Analysis: Mean CI, Sampling Distribution, and 95th Percentile Context You have...

Statistics & Math
3
0
42 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Influence Stakeholders Without Authority: Strategies and Outcomes

Influence Stakeholders Without Authority: Strategies and Outcomes Scenario Meta Data Scientist onsite behavioral & leadership loop. The interviewer pr...

Behavioral & Leadership
22
0
97 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Identify Fake Accounts Using Machine Learning Techniques

Identify Fake Accounts Using Machine Learning Techniques Scenario You are a data scientist at Meta. Fake accounts (bots, spam, scams, impersonation, c...

Machine Learning
30
0
72 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Explain Your Motivation for Career Transition and Role Interest

Explain Your Motivation for Career Transition and Role Interest Behavioral Phone Screen — Data Scientist Context You’re in a recruiter/technical phone...

Behavioral & Leadership
5
0
44 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Ensure Effective Teamwork Amid Conflicting Stakeholder Opinions

Ensure Effective Teamwork Amid Conflicting Stakeholder Opinions Behavioral: Cross-Functional Collaboration, Miscommunication, and Conflict Handling Co...

Behavioral & Leadership
5
0
47 people solved
Aug 4, 2025
Meta logo
Meta
Easy
Data Scientist Locked

Compute probability an account is fake

This question evaluates understanding of conditional probability and Bayesian reasoning, specifically interpreting base rates alongside true positive ...

Statistics & Math
28
1
447 people solved
Jan 17, 2026
Meta logo
Meta
Easy
Data Scientist Locked

Evaluate new shop-ads ranking algorithm

This question evaluates a data scientist's skills in online experimentation, causal inference, and marketplace analytics—covering A/B test design, ran...

Analytics & Experimentation
30
0
194 people solved
Jan 17, 2026
Meta logo
Meta
Hard
Data Engineer

Evaluate impact of short videos in feed

Scenario You work on a social app’s main News Feed. The team wants to introduce a short-form video module ("Reels") into the feed. Prompt 1. How would...

System Design
18
0
165 people solved
Dec 1, 2025
Meta logo
Meta
Hard
Software Engineer

Design leaderboard and messenger systems

Design leaderboard and messenger systems This Meta onsite system-design round asks you to design two large-scale systems back to back. Cover end-to-en...

System Design
7
0
43 people solved
Jul 31, 2025
Meta logo
Meta
Medium
Software Engineer

Remove minimum parentheses to balance string

Given a string s containing lowercase letters and the characters '(' and ')', remove the minimum number of parentheses so that the resulting string is...

Coding & Algorithms
1
0
36 people solved
Sep 6, 2025
Meta logo
Meta
Medium
Machine Learning Engineer

Generate unique permutations with duplicates

Given an array of integers that may contain duplicates, generate all unique permutations. Ensure no duplicate permutations are returned even if some v...

Coding & Algorithms
7
0
55 people solved
Sep 6, 2025
Meta logo
Meta
Medium
Software EngineerSenior+

Set up a Python interview environment

You can use AI coding tools. Prepare a clean laptop for a Python-based onsite and explain your steps: ( 1) Install pyenv and set up a project-specific...

Data Manipulation (SQL/Python)
10
0
76 people solved
Sep 6, 2025
Meta logo
Meta
Medium
Data Engineer

Tackle Python tasks under time pressure

In a 15-minute coding round, implement a small Python function or class to solve a well-scoped problem within about 5 minutes of coding. 1) State 1–2 ...

Data Manipulation (SQL/Python)
17
0
145 people solved
Sep 6, 2025
Meta logo
Meta
Hard
Software Engineer

Design a real-time messenger

Question Design a real-time messaging system (a Messenger/WhatsApp-style product) that supports 1:1 and group chats. Walk through requirements, the AP...

System Design
7
0
60 people solved
Sep 6, 2025
Meta logo
Meta
Medium
Machine Learning Engineer Locked

Build harmful-content text classifier

This question evaluates a candidate's competence in designing an end-to-end machine learning pipeline for binary text classification, covering data un...

Machine Learning
7
0
53 people solved
Nov 28, 2025
Meta logo
Meta
Medium
Data Scientist

Compute posterior fake probability using Bayes' rule

A platform runs an automated detector to flag fake accounts. - Prior probability an account is fake: \(P(F)=0.02\). - True positive rate (sensitivity)...

Statistics & Math
10
0
73 people solved
Oct 14, 2025
Meta logo
Meta
Medium
Data Scientist

Resolve cross-functional conflicts using analytics results

Answer the following behavioral prompts for a data science/product analytics role working cross-functionally (PM, Eng, Ads/Sales): 1) Describe a time ...

Behavioral & Leadership
2
0
34 people solved
Oct 14, 2025
Meta logo
Meta
Hard
Data Scientist

Measure impact of bot mitigation via experiment

Experiment Design: Measuring the Impact of a Bot‑Mitigation System Context You are evaluating a production change to a large social platform that hide...

Analytics & Experimentation
9
0
98 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Measure a friend-recommendation launch

A new friend-recommendation algorithm ships behind a feature flag. Design how you will measure success and decide whether to launch: - State no more t...

Analytics & Experimentation
4
0
68 people solved
Oct 13, 2025

Frequently Asked Questions

How difficult are Meta interview questions?
Meta interview questions span a wide difficulty range because they must screen candidates from entry to senior levels across many functions. Expect coding rounds to map to medium-to-hard algorithmic problems that appear in top 100 problem lists for software engineers, and expect data roles to face challenging SQL, experiment diagnosis, and product-analytics problems that require clean metric definitions. Machine learning roles emphasize recommendation and ranking tradeoffs and model complexity, while data engineers encounter large-scale ETL and modeling puzzles. Difficulty scales with level: entry hires see clearer, bounded problems; senior hires face ambiguous tradeoffs and system-wide thinking.
What is Meta's interview process and where do these questions appear?
Meta typically runs a multi-stage process: recruiter screen, one or two technical screens or an online assessment, a full loop of onsite-style interviews, then debrief, committee review, and offer. The full loop mixes coding, system or product design, role-specific technical rounds, and behavioral interviews. Software-engineer candidates spend most time on coding and design; data scientists focus on SQL, experimentation, and product analytics; machine-learning engineers see modeling and recommendation design; data engineers handle SQL, data modeling, and pipeline questions; PMs get product-design and analytics probes. In 2025–2026 some teams pilot AI-enabled coding rounds.
How should I structure a preparation timeline for a Meta interview?
A focused six-week plan works well: weeks one and two cover fundamentals—data structures, algorithms, SQL basics, and experiment design; weeks three and four emphasize timed problem practice, mock phone screens, and role-specific cases (A/B diagnosis for data scientists, model design for MLEs, ETL modeling for data engineers); week five concentrates on system or product design and behavioral storytelling; week six is for full mock loops, timing, and refining communication. Practice with realistic tools, simulate loop pacing, and schedule a debrief after each mock to iterate on clarity, edge-case handling, and time management.
Which technical subtopics are most commonly tested for each role at Meta?
For Data Scientist interviews the recurring technical themes are product-metric definition, diagnosing experiment and spend drops, counting multi-account interactions, SQL for multi-entity metrics, and ranking or recommendation evaluation such as shop ad ranking. Software-engineer questions frequently focus on timestamped state and versioned systems, leaderboards and ranking, maze/graph traversal and tree/array transforms, delimiter and CSV parsing, and scalable search or flight-search style designs. Machine-learning engineers see place and friend recommendation design, sparse-matrix operations, ranking/loss choices, and feed dislike or personalization models. Data engineers repeatedly face entity modeling for feed and booking data, SQL analytics for utilization and reservations, and capacity-aware aggregation challenges.
What standout tips and common pitfalls should I watch for in Meta interviews?
Start interviews by clarifying requirements and expected outputs, then propose measurable success metrics; this prevents misaligned solutions. For coding, think aloud, handle edge cases, state complexity up front, and write a couple of quick tests. In design rounds quantify load, storage, and tradeoffs rather than vague features. Data roles must define metrics, guardrails, and experiment assumptions before jumping to analysis; common pitfalls are ambiguous metric definitions, peeking at tests, and ignoring instrumentation limits. For AI-assisted coding rounds, use the assistant to accelerate boilerplate but validate logic and corner cases yourself. Finish each answer with a concise summary of impact and tradeoffs.

Explore more Meta interview questions

Jump straight to Meta questions for a specific role or category.

By role
By category
In-depth guides
Across all companies

Featured Meta interview prep guides

Concept walkthroughs, worked examples, and the real questions from candidate reports.

Editorial prep
Software Engineer
Meta interview
Read the guide
Editorial prep
Data Scientist
Meta interview
Read the guide