Two Sigma Data Scientist Interview Questions
Practice the exact questions companies are asking right now.
Design a house-price prediction model
Problem You are asked to build a model to predict house sale prices for a city of your choice. Data (assume typical real-estate fields) You have a his...
Match readings with latest same-city humidity
Problem You are given two time-sorted lists of sensor readings: - Temperature records: (time, city, reading) - Humidity records: (time, city, reading)...
Answer four core statistics questions
Problem set (timed) Answer the following four questions. 1) Covariance of order statistics Let \(X\) and \(Y\) be independent \(\mathrm{Unif}(0,1)\). ...
Perform no-intercept linear regression from two datasets
You are given two pandas datasets to fit an OLS model without an intercept (through origin). Dataset A (features): df_X(user_id, clicks, impressions)....
Analyze NYC taxi trips efficiently over last 7 days
Use today = 2025-09-01. Consider NYC taxi trip data over the last 7 days inclusive (2025-08-26 to 2025-09-01, America/New_York). You receive two datas...
Compute robust linear interpolation with edge cases
You are given two distinct points (x0, y0) and (x1, y1) with x0 != x1. a) Derive the linear interpolation function f(x) on [min(x0, x1), max(x0, x1)] ...