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
Medium
Machine Learning Engineer Locked

Design a Location Recommendation System

This question evaluates a candidate's ability to design end-to-end machine learning recommendation systems, covering competencies in candidate generat...

ML System Design
5
0
73 people solved
Jan 24, 2026
Meta logo
Meta
Medium
Data Scientist

Compute ad revenue metrics by geography in SQL

You work on a marketplace app that shows shop ads. You are given the following tables. Assumptions - All timestamps are stored in UTC. - “Revenue” is ...

Data Manipulation (SQL/Python)
8
0
79 people solved
Oct 14, 2025
Meta logo
Meta
Hard
Data Scientist

Design bot detection and evaluate trade-offs

Bot-Detection System Design for Comment Activity Context You are designing and evaluating a machine learning system to detect automated (bot) comment ...

Machine Learning
3
0
43 people solved
Oct 13, 2025
Meta logo
Meta
Hard
Data Scientist

Detect leakage and evaluate a prediction model

Churn Prediction Model: Leakage, Validation, KPIs, Interpretation, Monitoring Context: You inherit a weekly-scored model that predicts whether a user ...

Machine Learning
7
0
70 people solved
Oct 13, 2025
Meta logo
Meta
Hard
Data Scientist

Design an A/B test for pinned-unread feature

Experiment Design: Evaluating a Pinned-Unread Chat Feature Context You are evaluating a new messaging feature that pins chats with unread messages to ...

Analytics & Experimentation
5
0
38 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Decide under adverse signals and conflicts

Scenario: Pre-Launch Decision Under Mixed Signals You are preparing to launch a new messaging/notifications feature. Leading indicators are mixed: som...

Behavioral & Leadership
4
0
43 people solved
Oct 13, 2025
Meta logo
Meta
Hard
Data Scientist

Design analytics and experiment for group video calls

Evaluate and Launch Group Video Calls — Product Analytics Plan Context: You are evaluating a new Group Video Call feature in a large-scale consumer me...

Analytics & Experimentation
7
0
54 people solved
Oct 13, 2025
Meta logo
Meta
Hard
Data Engineer

Write SQL for car rental utilization by city

SQL / Data Query Prompt (Car Rental) You are given four tables: user - user_id location - location_id - city car - car_id - car_size (e.g., compact, m...

Coding & Algorithms
12
2
177 people solved
Dec 1, 2025
Meta logo
Meta
Medium
Software EngineerSenior+ Locked

Troubleshoot a single-node web outage

This question evaluates operational troubleshooting, root-cause analysis, and resilience design skills for a single-node web server, testing a candida...

System Design
4
0
63 people solved
Jan 22, 2026
Meta logo
Meta
Medium
Data Scientist Locked

Should WhatsApp launch group calls?

This question evaluates a data scientist's skills in experiment design, product analytics, metric definition, causal inference, and managing network e...

Analytics & Experimentation
17
0
122 people solved
Mar 24, 2026
Meta logo
Meta
Medium
Machine Learning Engineer Locked

Design an ads ranking system with calibration

This question evaluates a candidate's ability to design scalable, low-latency online machine learning systems for ads ranking, covering competencies i...

ML System Design
11
0
162 people solved
Jan 21, 2026
Meta logo
Meta
Medium
Data Scientist

Which clustering algorithm would you use and why

Question You need to cluster users for a social product (e.g. Meta) to discover meaningful groups such as communities, interest groups, or usage segme...

Machine Learning
4
0
57 people solved
Nov 2, 2025
Meta logo
Meta
Medium
Product Analyst

Analyze DoorDash marketplace product decisions

You are a product-focused data scientist at DoorDash. Discuss how you would approach the following three product analytics and experimentation problem...

Analytics & Experimentation
3
0
42 people solved
Feb 19, 2026
Meta logo
Meta
Easy
Software Engineer

Implement list cloning and k-frequency finder

You are given two separate coding tasks. --- Problem 1: Deep copy a linked list with extra pointers You are given the head of a singly linked list. Ea...

Coding & Algorithms
3
0
72 people solved
Nov 27, 2025
Meta logo
Meta
Medium
Data Scientist

How would you evaluate Pixel issue alerts?

Meta is considering a new advertiser-facing ad management feature. When the system detects that an advertiser's Ads Pixel may be misconfigured or send...

Analytics & Experimentation
2
0
24 people solved
Jan 20, 2026
Meta logo
Meta
Easy
Software Engineer Locked

Design a Trade Ledger Class

This question evaluates the ability to design class interfaces, choose and justify data structures for ordered storage, and reason about sorting behav...

Software Engineering Fundamentals
4
0
53 people solved
Feb 18, 2026
Meta logo
Meta
Easy
Data Scientist

Handle feedback, change pivots, and conflict

Question In the behavioral portion of the Meta Data Scientist screen, answer the following leadership prompts using concrete examples from your own wo...

Behavioral & Leadership
3
0
70 people solved
Feb 16, 2026
Meta logo
Meta
Easy
Analytics Engineer Locked

Detect fake accounts and measure their impact

This question evaluates competency in fraud detection, causal impact measurement, experimentation design, and operational analytics for product and ad...

Analytics & Experimentation
3
0
30 people solved
Feb 15, 2026
Meta logo
Meta
Hard
Software EngineerSenior+

Walk through a resume deep dive

Behavioral Deep Dive: Most Impactful Infrastructure Project Context You are interviewing for a Software Engineer role. The interviewer will ask you to...

Behavioral & Leadership
4
0
60 people solved
Sep 6, 2025
Meta logo
Meta
Medium
Software EngineerSenior+ AI

Solve Maze and Suffix Problems

Solve the following two coding problems. Problem A: Find the shortest path through a maze with keys and doors You are given a 2D grid representing a m...

Coding & Algorithms
1
0
17 people solved
Apr 25, 2026

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