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
Data Scientist

Compute video-call SQL metrics with edge cases

Use 'today' = 2025-09-01. Assume UTC timestamps. Write SQL to answer both parts below and call out how your queries handle edge cases (duplicates, fai...

Data Manipulation (SQL/Python)
28
1
241 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Compute unconnected 60s posts and reactions averages

Given these tables and sample data, write SQL that answers both tasks below. Use today = 2025-09-01 and interpret "last/past 7 days" as the inclusive ...

Data Manipulation (SQL/Python)
1
0
10 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Write SQL for visibility, calls, and cohort activity

You have the following schema and toy data. Assume "today" = 2025-09-01. users(user_id INT, signup_date DATE) Sample: user_id | signup_date -------...

Data Manipulation (SQL/Python)
0
0
7 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Calculate survey response and quality metrics in SQL

Compute survey response-rate and quality metrics from event data. Assume "today" = 2025-09-01, and compute over the last 7 days (2025-08-26 to 2025-09...

Data Manipulation (SQL/Python)
0
0
7 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Define and compute shop visibility in SQL

You own the 'shop visibility' KPI for a marketplace. Define a precise metric and write SQL to compute it over the last 7 days (use today = 2025-09-01,...

Data Manipulation (SQL/Python)
6
0
64 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Write SQL to compare exclusive category engagement

You are given session-level data and must compare engagement between users who exclusively used the 'social' category versus those who exclusively use...

Data Manipulation (SQL/Python)
0
0
4 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist Locked

Increase posts receiving one comment

This question evaluates a data scientist's competency in product analytics and experimentation, specifically metric definition and guardrails, segment...

Analytics & Experimentation
2
0
46 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Write SQL for shop visibility and activity metric

Assume 'today' is 2025-09-01. Schema and tiny samples: 1) shops(shop_id INT, created_at DATE) Sample: shop_id | created_at 1 | 2025-08-25 2 | 2025...

Data Manipulation (SQL/Python)
0
0
6 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Compute unread and multi-account user percentages

You’re given two tables. Write ANSI-SQL to answer parts (a)–(d). Treat a notification as unread if read_at IS NULL. Denominator for user-level percent...

Data Manipulation (SQL/Python)
13
0
82 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Compute survey rates and bias-correct ratings

Today is 2025-09-01. Use the schema and sample data below to answer A and B with SQL (standard SQL; you may use CTEs and window functions). Assume tim...

Data Manipulation (SQL/Python)
3
0
55 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist Locked

Measure and mitigate notification spam

This question evaluates a data scientist's competency in defining precise success and guardrail metrics, designing counterfactual-aware experiments an...

Analytics & Experimentation
3
0
33 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Write SQL for hashtag analytics and joins

Assume today = 2025-09-01. Schema and small sample data are below. Use ANSI SQL; explain any dialect-specific functions you choose. Where asked, expla...

Data Manipulation (SQL/Python)
1
0
2 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Write SQL to localize anomaly and funnel

Given the schema and toy data below, write SQL to (a) validate instrumentation vs behavior change, (b) localize the 2025-09-01 Likes drop by app_versi...

Data Manipulation (SQL/Python)
0
0
5 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Label new vs old users over time in SQL

Define users as “new” during the first 30 days inclusive after their signup_date, and “old” thereafter. Produce per-user, per-day labels over a window...

Data Manipulation (SQL/Python)
0
1
5 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Write SQL for engagement and attribution KPIs

Using the schema and sample data below, answer the SQL tasks. Assume timestamps are UTC and comments with is_deleted=1 do not count. Schema: users(use...

Data Manipulation (SQL/Python)
1
0
8 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Calculate posts per DAU by country today

Given two tables: - user_activity(user_id INT, activity_date DATE, country STRING, dau_flag TINYINT CHECK(dau_flag IN (0,1))) - composer(user_id INT, ...

Data Manipulation (SQL/Python)
4
0
42 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Compute daily post success rate for last 7 days

You have a table composer(user_id INT, event STRING CHECK(event IN ('enter','post','cancel')), event_date DATE). Compute the post success rate for eac...

Data Manipulation (SQL/Python)
7
1
45 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Write SQL to compute shop visibility share

Assume today is 2025-09-01. Compute the top 3 shops by average daily visibility share over the last 7 days (2025-08-26 to 2025-09-01, inclusive) for U...

Data Manipulation (SQL/Python)
3
0
68 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Write SQL with HAVING and efficient joins

You are given two tables. Schema - interactions(product_id INT, buyer_id INT, seller_id INT, interaction_date DATE, interaction_type VARCHAR, interact...

Data Manipulation (SQL/Python)
0
0
5 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Produce dating profile funnel report by cohort

You work on a dating app. Produce a daily profile-funnel report for 2025-08-25 through 2025-09-01 inclusive, with one row per day, gender, and age_buc...

Data Manipulation (SQL/Python)
1
0
9 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