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."
Write SQL for seller and vehicle metrics
This question evaluates proficiency in SQL data manipulation, including joins, distinct counts, grouping and aggregation, filtering by date and catego...
Write SQL for top drivers and cancellation rates
Question You work on a rideshare / ride-hailing product that connects drivers and riders, with a focus on airport pickups. Using SQL, answer the quest...
Compute delivery metrics and top-K queries
Compute delivery metrics and top-K queries You have restaurant menus and orders for a food delivery platform. Part 1: Given a user location and a set ...
Compute specialty spend share and top age band
You are given healthcare claims data split across member tables. Tables Assume the following schemas (types may be adapted to your SQL dialect): mem1 ...
Implement robust word counts and min/max
You receive a 50GB UTF-8 text corpus on disk. Implement a Python solution that:\n- Streams the file without loading it fully into memory.\n- Counts ca...
Compare list/dict; parse JSON/CSV at scale
Compare Python list and dict precisely: for append/insert/lookup/update/delete, state average and worst-case time complexity, memory implications, and...
Find common friends from directed edges
You have a directed edge list that records who followed whom. A mutual “friendship” exists only if both directions appear (A→B and B→A). Schema and sa...
Implement paginated API ingestion
You are given a REST endpoint GET /orders?page=1&limit=100 that returns JSON objects of the form { "page": n, "per_page": m, "total_pages": T, "data":...
Compute time-spent percentage by app category
You work on Oculus app engagement analytics. Tables user_activity - user_id (BIGINT) - date (DATE) — day of activity (assume UTC) - app_id (INT) - ses...
Justify and harden your analytics and BI stack
List your current analytics tech suite end-to-end (ingestion, storage/warehouse, transformation, orchestration, catalog/lineage, experimentation platf...
Calculate Cohort Retention
You are given two tables: users - user_id BIGINT PRIMARY KEY - signup_ts TIMESTAMP user_events - user_id BIGINT - event_ts TIMESTAMP - event_name VARC...
Implement vectorized NumPy ops and explain broadcasting
Implement vectorized NumPy code for: (a) computing pairwise cosine similarity between two real-valued matrices X (shape n×d) and Y (shape m×d) without...
Analyze document collaboration patterns
You are given two CSV files and asked to analyze collaboration behavior on documents. File 1: document_activity.csv Each row is a document view event....
Explain Pandas and SQL Basics
You are interviewing for a Data Engineer internship. Answer the following short data-manipulation questions: 1. In pandas, what is the difference betw...
Compute unique visitors per department from clicks
Given tables Products(product_id, department, category, subcategory) where department > category > subcategory form a hierarchy, and ClickLog(user_id,...
Top 5 Most Efficient Vehicle Models
This SQL question tests practical data manipulation skills including multi-table aggregation, NULL handling, and conditional filtering across a relati...
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_...
Explain handling very large datasets
Describe a project where you ingested and processed a dataset of at least 500 million rows or 1 TB end-to-end. Detail storage formats and partitioning...
Compute window averages and merge intervals
Compute window averages and merge intervals You are given two independent pandas tasks. 1. Centered sliding-window average - Input DataFrame df with c...
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...