Two Sigma Data Scientist 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."
Design a house-price prediction model
This question evaluates machine learning and data science competencies including regression model design, feature engineering, data-splitting and leak...
Merge two sorted lists
This question evaluates a candidate's competency in array manipulation and merging algorithms, emphasizing understanding of ordered data and time comp...
Merge Two Sorted Lists
This question evaluates proficiency with linked list data structures, pointer manipulation, in-place merging of sorted sequences, and general algorith...
Forecast bikes available at a station
This question evaluates proficiency in time-series forecasting, feature engineering, handling temporal data splits, and incorporating operational cons...
Slopes of y-on-x vs x-on-y Regression: Relationship and When They Are Equal
You fit two simple ordinary least squares (OLS) regressions, each with an intercept, on the same paired dataset $(x_i, y_i)$ for $i = 1, \dots, n$: 1....
Evaluate Piecewise Linear Function
This question evaluates understanding of piecewise linear interpolation, numerical reasoning, and the ability to handle ordered 2D point data and edge...
Predict a Company's Stock Price from Six Years of Web Search Logs
You are given a DataFrame containing the past six years of web search logs. Each row is a single search event with the following columns: | Column | T...
Derive correlation bounds and omitted-variable bias
This question evaluates understanding of multivariate correlation structure and linear regression properties, focusing on feasible ranges and construc...
Predict Stock Prices from Google Search Data
You are given access to historical Google search data — relative search volume over time for arbitrary query terms — along with standard historical ma...
Compute Piecewise Linear Interpolation
You are given an unsorted list of distinct 2D points (x_i, y_i). When the points are sorted by x_i, connecting adjacent points forms a polyline. Given...
Maximize profit from one stock trade
This question evaluates algorithmic problem-solving skills with emphasis on array processing, numeric optimization, and time/space complexity analysis...
Compute robust linear interpolation with edge cases
This question evaluates understanding of linear interpolation, representation as convex combinations, handling of degenerate input cases, bounding int...
Implement merge sort and largest 1-rectangle
The coding round included two algorithm questions: 1. Implement merge sort for an array of integers. Return the sorted array and explain its time and ...
Return sorted values after quadratic transform
This question evaluates understanding of mathematical transformations and array manipulation, specifically how applying a quadratic function affects t...
Linear Interpolator with Extrapolation
Linear Interpolator with Extrapolation You are given n knot points in a 2D coordinate system, where knots[i] = [x_i, y_i]. All x-coordinates are disti...
Add two integer strings using digit-adder
This question evaluates proficiency in string-based arithmetic, digit-wise addition, carry propagation, and management of arbitrarily large non-negati...
Expected Number of Good Pairs in a Randomly Weighted Complete Graph
Expected Number of Good Pairs in a Randomly Weighted Complete Graph You are given a complete graph on n vertices — every pair of distinct vertices is ...
Smallest Palindrome Strictly Greater Than K
A palindrome is a positive integer whose decimal representation reads the same forwards and backwards, with no leading zeros. For example, 7, 44, 121,...
Why Is the Sample Mean Approximately Normal for Large Samples?
In statistics we routinely treat the average of a large sample as if it were normally distributed — for example, when building confidence intervals fo...
Median, Variance, and Linear Trend of a Daily Temperature Dataset
Median, Variance, and Linear Trend of a Daily Temperature Dataset You are given n daily temperature readings collected in New York City. The data is a...