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."
Analyze Mission Outcomes and Allocate Response Units
Analyze Mission Outcomes and Allocate Response Units You receive historical mission-level data for a set of response units. Assume one row represents ...
Calculate Daily Survey Response Rates by Country
The interview report preserved the survey tables and the request to calculate response rate, but not the exact grouping or output contract. The follow...
Analyze Returning Borrowers Across Two Days of Logs
Analyze Returning Borrowers Across Two Days of Logs You receive two collections of loan-activity records, one for each of two consecutive days. Each r...
Describe How You Use SQL in Data Science Work
How do you use SQL in your day-to-day data-science work? Describe the kinds of problems you solve, the complexity of queries you can own, and the chec...
Query Top Played Tracks Globally And By Country
Given a play_events table with columns user_id, track_id, timestamp, and country, write SQL to return the top N most played tracks globally and the to...
Describe Your Analysis and Visualization Toolkit
Give a recruiter-friendly overview of the data-analysis and visualization tools you use in your work. Explain what each tool helps you accomplish, how...
Implement and Evaluate Pin Similarity in Python
You are asked to compare Pin similarity in Python. Begin by clarifying how a Pin is represented and what “similar” should mean. Then assume the interv...
Compare Survey Satisfaction for New and Established Users
The interview report preserved the survey tables and the request to compare response levels for new and old users, but it explicitly noted that the in...
Measure Daily Late-Order Rates by Delivery Zone
The original interview report identified a late-order SQL exercise but did not preserve its exact schema. The following is a self-contained practice r...
Analyze User Ride Activity with SQL
Use the following tables to answer four SQL analysis tasks. `text rides(ride_id, ride_date, ride_rating, user_id) users(user_id, city) ` Constraints &...
Analyze Thirty-Day Ad Performance with SQL
Analyze Thirty-Day Ad Performance with SQL For this practice version, use the following neutral schema. clicked is a Boolean recorded on each impressi...
Compute a Rolling Seven-Day Revenue Sum with Missing Dates
Solve a PostgreSQL rolling-revenue problem that needs a complete daily series per seller, including no-order dates. It assesses UTC date handling, gap...
Answer SQL And Data Warehouse Fundamentals For A Data Engineering Interview
Practice data engineering fundamentals across SQL set operations, anti-joins, top-N window queries, and warehouse modeling. The prompt covers UNION ve...
Implement a Safe Average Function in Python
Write a Python function average(table) that returns the arithmetic mean of a list of numbers and returns 0 when the list is empty. Explain the functio...
Compute Each Advertiser's Share of Shop Ad Spend
Compute Each Advertiser's Share of Shop Ad Spend You have the following daily advertising table: `text ads_detail( advertiser_id, ad_id, ad_type...
Find A Low-Quality Annotator From Label Data
Practice a pandas-style data analysis prompt for identifying a low-quality annotator from label data. The question emphasizes cleaning, agreement or g...

Debug ML pipeline and build text parser
You are in a hands-on, hour-long ML-engineering working session (Scale AI, Machine Learning Engineer loop). You are given a small ML project — data lo...
Debug and harden trial-assignment Python code
You are given the following simplified Python snippet used to assign users and trigger a 1‑month free trial: """ import random, datetime, requests def...
Transform and aggregate messy event data
Using pandas (vectorized; no loops), clean, combine, and aggregate the following to produce country/plan day-level metrics for 2025-08-31. DataFrames ...
Compute Moderation View Metrics
Question You are working on a content moderation analytics problem. You have two tables. Table 1: content_views (one row per user / post / day) - user...