SQL + Data Manipulation (SQL/Python) Interview Questions
Practice the exact questions companies are asking right now.

"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"

"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"

"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."

"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."

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

"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."

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

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

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

"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."

"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."

"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."

"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."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"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."
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 ...
Design an idempotent SQL ETL for late data
You own the daily_user_metrics fact table. Build an idempotent, rerunnable ETL that can be triggered for any date D and correctly handles duplicates, ...
Write dating profile report with final reviews
Today is 2025-09-01. You need a daily dating-profile quality and engagement report that only includes profiles whose latest version has a final approv...
Design MapReduce and Spark jobs
Big data systems: (a) Explain Hadoop’s fault tolerance (HDFS replication, task re-execution) and why MapReduce includes shuffling and sorting; in a wo...
Write rolling-window SQL over weekly cohorts
You have two tables: users and transactions. Write a single SQL query (use CTEs) to produce, for each calendar week and user, weekly_revenue, a 4-week...
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...
Design a data platform enablement
Design a pragmatic data‑platform enablement for a mid‑tier retail bank migrating to cloud under PII and data‑residency constraints. Describe the targe...
Compute signup rate and retention from raw logs
Scenario You are analyzing an A/B test for a marketing campaign offering a free 1-month trial. You are given raw “upstream” tables that resemble produ...
Fetch and parse JSON from REST API
Question Set up a minimal coding environment from scratch and write runnable code that fetches and processes data from a REST API. You are given an en...
Analyze and debug Python utilities
Analyze and debug Python utilities You are given a snippet where a Python helper class repeatedly reads from an HTTP response stream and writes output...
Clean scores and return top 5 students
This question evaluates proficiency in data cleaning and transformation for Data Science, focusing on handling missing values, median imputation, and ...
Compute this-year spend share of last-year whales
This question evaluates proficiency in data manipulation and analytics engineering, specifically SQL and Python skills for aggregations, joins, calend...
Fill missing values with means
You are given a pandas DataFrame df with missing values in multiple numeric columns. Write a concise pandas expression to replace NaNs in each numeric...
Analyze Multiple-Account Users in SQL
This question evaluates a data scientist's ability to perform SQL-level user- and account-level aggregation, grouping, and NULL-aware filtering to com...
Explain Python lists, dicts, and concurrency
Explain Python lists, dicts, and concurrency Explain the differences between Python lists and dictionaries (maps), including common operations and the...
Design Schema and Logic for Subscription Event Tracking
user_subscription_events +----------+-------------+---------------------+-----------+---------+ | user_id | event_type | event_time | plan_...
Illustrate SQL Join Results with Duplicate Keys
TABLE1 +------+ | col1 | +------+ | 1 | | 1 | | 1 | +------+ TABLE2 +------+ | col1 | +------+ | 1 | | 1 | | 1 | | 1 | | 1 |...
Write SQL/Python for messy event data
Using the schema and sample data below, write: (1) a single SQL query to compute daily metrics for the local date 2025-09-01 in America/Los_Angeles, a...
Write SQL for post-trial conversion cohorts
Using the schema below, write SQL to compute, for users first exposed between 2025‑06‑01 and 2025‑06‑30 (inclusive), the intent‑to‑treat paid conversi...
Write SQL for cuisine median delivery times
Use SQL to answer the following. Assume ANSI SQL with window functions and percentile functions available. Treat “today” as 2025-09-01 (inclusive). Co...