PracHub
QuestionsCoachesLearningGuidesInterview Prep

Meta Data Manipulation (SQL/Python) Interview Questions

Meta Data Manipulation (SQL/Python) interview questions are a central part of Meta’s hiring for data scientist, data engineer, and analytics roles and usually emphasize practical, product-focused problem solving over abstract algorithm puzzles. What’s distinctive is the scale and product context: interview problems mirror real-world analytics tasks with messy data, session/event tables, and metrics design. Interviewers evaluate accuracy, clarity, and maintainability of your SQL or pandas code, your handling of edge cases (NULLs, deduplication, sampling), and your ability to explain trade-offs between readability and performance using CTEs, window functions, joins, and vectorized Python operations. For interview preparation, expect a timed technical screen (often using a shared editor) with SQL and Python data-manipulation tasks, followed by deeper loop rounds combining coding, product-metrics reasoning, and behavioral questions. Practice end-to-end problems: translate a product question into concrete metrics, write and optimize queries or pandas pipelines, narrate assumptions, and validate results. Work timed problems in CoderPad-like environments, rehearse clarifying questions, and review common pitfalls such as filter vs HAVING, NULL behavior, and inefficient joins. Regular mock interviews and focused drills on window functions, groupings, merges, and missing-data strategies will give the confidence and fluency Meta typically looks for.

Questions
170
Company
1
Updated
04.30.2026
170 Questions 1 Company04.30.2026
PLTCHK testimonial
PLTCHK

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

_The_TaNk_ testimonial
_The_TaNk_

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

Chris testimonial
ChrisSenior SWE, LinkedIn

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

sleepy33 testimonial
sleepy33

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

Jake testimonial
JakeSenior ML Engineer, Lyft

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

nuggetlord testimonial
nuggetlord

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

Carlos testimonial
CarlosFull Stack, Shopify

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

boba.tea.vibes testimonial
boba.tea.vibes

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

Andy testimonial
AndySWE-II, Google

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

couchpotato99 testimonial
couchpotato99

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

Shruti testimonial
ShrutiData Engineer, Salesforce

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

midnightramen testimonial
midnightramen

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

Bianca testimonial
BiancaFrontend Eng, Figma

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

tambrahm007 testimonial
tambrahm007

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."

toa testimonial
toa

"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."

PLTCHK testimonial
PLTCHK

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

_The_TaNk_ testimonial
_The_TaNk_

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

Chris testimonial
ChrisSenior SWE, LinkedIn

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

sleepy33 testimonial
sleepy33

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

Jake testimonial
JakeSenior ML Engineer, Lyft

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

nuggetlord testimonial
nuggetlord

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

Carlos testimonial
CarlosFull Stack, Shopify

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

boba.tea.vibes testimonial
boba.tea.vibes

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

Andy testimonial
AndySWE-II, Google

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

couchpotato99 testimonial
couchpotato99

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

Shruti testimonial
ShrutiData Engineer, Salesforce

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

midnightramen testimonial
midnightramen

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

Bianca testimonial
BiancaFrontend Eng, Figma

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

tambrahm007 testimonial
tambrahm007

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."

toa testimonial
toa

"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."

Showing 20 results
Role
Meta logo
Meta
Medium
Data Scientist Locked

Write SQL for seller and vehicle metrics

You are working with a marketplace dataset. Table 1: listing_interactions - buyer_id BIGINT - seller_id BIGINT - interaction_date DATE - product_id BI...

Data Manipulation (SQL/Python)
3
0
39 people solved
Mar 2, 2026
Meta logo
Meta
Medium
Data Scientist Locked

Calculate CTR and ad revenue

This interview included two SQL tasks. Task 1: Compare CTR during peak and non-peak hours You are given three tables: - ads(ad_id BIGINT, advertiser_i...

Data Manipulation (SQL/Python)
3
1
33 people solved
Jan 25, 2026
Meta logo
Meta
Medium
Data Scientist

Count unconnected posts and reactions

You are analyzing a newly launched feed feature intended to improve engagement by showing more unconnected content. Assume the following tables: - pos...

Data Manipulation (SQL/Python)
21
2
193 people solved
Apr 5, 2026
Meta logo
Meta
Hard
Data Scientist

Compute Heavy-Caller Percentages

You are given two tables that track voice calls and daily active users for a messaging app. Table: call_events - call_id BIGINT — unique call identifi...

Data Manipulation (SQL/Python)
4
0
33 people solved
Jan 2, 2026
Meta logo
Meta
Medium
Data Scientist

Write SQL to compare social-only vs game-only engagement

You are given two tables capturing Oculus app usage. Define an 'active day' as a UTC date on which a user generates at least one event. Consider only ...

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

Write SQL for video-call recipients and FR activity

Given the schema and samples below, write ANSI‑SQL to answer both questions. Assume dates are stored in UTC. Today is 2025-09-01, so “yesterday” is 20...

Data Manipulation (SQL/Python)
60
1
558 people solved
Oct 13, 2025
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
235 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Compute feed ad frequency and retention in SQL

Assume today is 2025-09-01. Schema and tiny samples: feed_impressions(impression_id, user_id, impression_time, content_type, feed_position, session_id...

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

Write SQL for seller and category metrics

Assume the following marketplace tables. Table: listing_interactions - buyer_id STRING - seller_id STRING - product_id STRING - interaction_date DATE ...

Data Manipulation (SQL/Python)
4
1
24 people solved
Feb 15, 2026
Meta logo
Meta
Medium
Data Scientist Locked

Analyze Multiple-Account Users in SQL

You are analyzing a product in which a single user can own multiple accounts. Use the following tables: accounts - account_id BIGINT — unique account ...

Data Manipulation (SQL/Python)
1
0
25 people solved
Feb 9, 2026
Meta logo
Meta
Medium
Product Analyst

Write SQL for call analytics

You are given two tables. Table: calls - call_id BIGINT - sender_id BIGINT - receiver_id BIGINT - call_ts TIMESTAMP — stored in UTC - pickup CHAR(1) —...

Data Manipulation (SQL/Python)
4
0
44 people solved
Jan 16, 2026
Meta logo
Meta
Medium
Data Scientist

Compute cohort GMV and payer rate with edge cases

You are given the following schema (timestamps are UTC): users(user_id INT, country STRING, created_at TIMESTAMP) events(user_id INT, event_ts TIMESTA...

Data Manipulation (SQL/Python)
9
0
71 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Product Analyst Locked

Write SQL for call metrics

You have two tables. calls ( call_id BIGINT, sender_id BIGINT, receiver_id BIGINT, call_ts TIMESTAMP, picked_up BOOLEAN, call_type VARCHAR...

Data Manipulation (SQL/Python)
4
0
43 people solved
Mar 19, 2026
Meta logo
Meta
Medium
Data Scientist Locked

Find least active countries

You are given an ads activity table. Table: ad_activity - ad_id BIGINT — unique ad identifier - advertiser_id BIGINT — advertiser that owns the ad - c...

Data Manipulation (SQL/Python)
4
1
42 people solved
Feb 22, 2026
Meta logo
Meta
Medium
Data Scientist

Compute seller counts and vehicle share

You are given two tables: 1. listing_interactions - buyer_id BIGINT - seller_id BIGINT - event_date DATE - product_id BIGINT - listing_...

Data Manipulation (SQL/Python)
4
0
32 people solved
Jan 5, 2026
Meta logo
Meta
Easy
Analytics Engineer Locked

Compute daily active ads

SQL: Daily active ads You are working on an ads platform. Tables ads - ad_id BIGINT (PK) - advertiser_id BIGINT - status STRING -- one of ('ACTIVE','...

Data Manipulation (SQL/Python)
1
0
26 people solved
Feb 15, 2026
Meta logo
Meta
Easy
Data Scientist

Compute percent of active users with 50+ calls

Problem You work on a Messenger-like app. You want to measure how many active users in Great Britain (GB) today have been heavy callers recently. Tabl...

Data Manipulation (SQL/Python)
8
1
99 people solved
Dec 8, 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)
8
0
59 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)
14
0
119 people solved
Sep 6, 2025
Meta logo
Meta
Medium
Data Scientist

Analyze spend cohort and source shifts

You work on an ads platform. Assume all timestamps are in UTC. Interpret last year as calendar year 2023 and this year as calendar year 2024. Tables: ...

Data Manipulation (SQL/Python)
11
2
79 people solved
Feb 23, 2026
Previous12...9Next
Try
Popular Categories
SQL
Share & Earn

3 days of Premium, free

Post about PracHub on social, unlock a trial.

Submit a post
Daily Quest

Sign in to earn XP for every problem you solve.

Frequently Asked Questions

How difficult are Meta Data Manipulation (SQL/Python) interview questions?
Meta Data Manipulation (SQL/Python) questions are typically medium-to-hard in difficulty and reward clarity under time pressure. Interviewers expect correct, efficient solutions that handle real-world data quirks such as NULLs, duplicates, and timezone or type issues. SQL problems often require joins, window functions, aggregations, and readable CTE structure rather than clever one-liners. Python tasks evaluate clean data transformations, appropriate use of lists/dictionaries or pandas, and algorithmic thinking for performance-sensitive steps. Strong candidates write defensible, testable code, explain tradeoffs, and can optimize a correct solution when prompted.
Where in the Meta interview process does Data Manipulation (SQL/Python) appear and what is the format?
Data manipulation shows up across screening and on-site (or virtual loop) stages, often during the technical screen and again in role-specific interviews for analytics, data engineering, or data scientist positions. Early screens commonly include a short set of timed problems split between SQL and Python executed in a shared editor. Later loop interviews expand scope with longer, end-to-end tasks that mix data modeling, metric definition, and manipulation tasks, and interviewers may probe for performance, edge cases, and how the candidate would productionize the transformation pipeline.
What is a realistic prep timeline for Meta Data Manipulation (SQL/Python) interviews?
A realistic prep timeline is four to eight weeks for focused preparation, although experienced practitioners may need less. Begin by refreshing SQL fundamentals and Python data structures, then practice common transformation problems and windowing scenarios. Midway through, introduce timed practice sessions mirroring the screening format to build speed and articulation. In the final weeks, do full mock interviews that combine SQL and Python work, review feedback, and polish explanations and test cases. Consistent, deliberate practice with real schema examples and post-solution optimizations produces the best results.
What key subtopics should I study for Data Manipulation (SQL/Python) at Meta?
Key SQL subtopics include joins (inner, left, semi/anti), aggregations, GROUP BY versus HAVING semantics, window functions, CTEs and subqueries, NULL handling, and basic performance considerations such as limiting data scanned and understanding indexes or partitioning. For Python, focus on core data structures, complexity reasoning, defensive coding for edge cases, idiomatic data transformations, and familiarity with pandas or equivalent libraries if appropriate. Also practice writing concise tests, handling date/time and string parsing, and explaining tradeoffs between readability and micro-optimizations.
What standout tips and common pitfalls should I keep in mind when preparing?
Standout tips include always clarifying assumptions up front, sketching the approach before coding, and using readable CTEs or helper functions to break complex logic into verifiable steps. Demonstrate awareness of edge cases, write simple test examples, and explain time/space complexity and production implications. Common pitfalls are ignoring NULL semantics, failing to deduplicate when required, overcomplicating queries instead of prioritizing clarity, and not defending performance tradeoffs. Finally, don’t forget to communicate continuously during the interview; interviewers evaluate reasoning and decision-making as much as the final result.
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • AI Coding Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.