Uber Data Scientist Interview Questions
If you’re preparing for Uber Data Scientist interview questions, expect a mix that reflects Uber’s massive, time-sensitive two‑sided marketplace: interviewers evaluate your ability to turn large, temporal datasets into actionable business decisions under operational constraints. Distinctive elements include heavy SQL usage (especially window functions and time‑based aggregations), experimentation and causal reasoning for A/B testing, product‑analytics cases that probe metric design and root‑cause analysis, plus Python and occasional machine‑learning discussions. Interviewers look for clear problem framing, pragmatic tradeoffs, and the ability to communicate results to cross‑functional partners. For interview preparation focus on three things: practice writing concise, correct SQL for real‑world time‑series problems; rehearse product analytics and experiment design scenarios with quantified tradeoffs; and polish behavioral stories that show ownership and collaboration. Simulate live coding on plain editors or CoderPad, time yourself on case problems, and prepare to explain assumptions and next steps rather than chasing perfect answers. This approach helps you demonstrate the speed, judgment, and impact Uber typically expects from its data scientists.
Transform DataFrame and compute diff-in-diff
You are given a pandas DataFrame df with the following columns: - unit_id (string): entity identifier (e.g., user, city, driver) - group (string): eit...
Design a switchback and choose block length
Switchback Experiment Design: Airport Pickup Pricing with Spillovers Context You are designing a switchback (time-based A/B) experiment for airport pi...
Measure Impact of Updated Rider ETA Algorithm
Scenario A ride-hailing company has updated its rider ETA-prediction algorithm (the ETA shown to riders before they request a trip) and wants to quant...
Compute A/B sample size under clustering
A/B Test Sample Size With Unequal Allocation, Clustering, and Attrition Context You are planning a two-arm signup A/B test (binary outcome: convert vs...
Design station experiment with interference and rush-hour spillovers
Experiment Design Under Interference for an In‑Station Ordering Pilot Context (Completed) You are evaluating two competing in‑station ordering feature...
Estimate causal effect with interference
A/B Test With Noncompliance and Interference: Causal Effect of Surge Recommendations on Completed Trips Context You ran an A/B test that assigned some...
Design an Uber A/B experiment end-to-end
Experiment Design: Pickup ETA Card Redesign Context: After a rider requests a trip, the app shows a pickup ETA card. The hypothesis is that clearer ET...
Design an A/B test for promo-targeting models
Experiment Design: Compare Two Ranking Models (M1 vs M0) for $5 Promotions Context You have two models, M0 (current) and M1 (new), that rank users for...
Implement sqrt with Newton vs binary search
Implement numerically robust square-root routines and analyze convergence Task 1 — sqrt_newton(x, tol=1e-12) Implement a Python function that returns ...
Formulate hypotheses and compute AB test significance
A/B Test Snapshot: Pickup ETA Card Experiment You are analyzing a 7-day A/B test with equal allocation. Each request is an exposure; the primary outco...
Check anagrams under real-world constraints
Given two strings s and t, determine whether they contain exactly the same multiset of characters (e.g., 'abc' and 'cab' → true; 'aab' and 'ab' → fals...
Formulate OR model to reduce driver backtracking
Define and reduce driver ‘backtracking’ in a marketplace. First, define a quantitative backtracking metric B per driver-hour from GPS and assignment l...
Explain and validate A/B test assumptions
A/B Test Validity: Core Assumptions, Violations, Diagnostics, and Mitigations You are designing and evaluating an online A/B test for a large, multi-s...
Design airport dispatch with ETA uncertainty
You control airport pickups with streaming ETAs for arriving flights and live driver locations/queues. Design an online dispatch algorithm that minimi...
Define market-only rider experience metrics
Market-only Rider Experience Metrics and Market Balance Index (MBI) You are designing a metric suite for a rides marketplace where "rider experience" ...
Design and power an incentive experiment
Experiment: Timing and Efficacy of Onboarding Benefits Context You operate a two-sided marketplace with supply-side candidates who often complete requ...
Design and Evaluate an Experiment on Surge
Experiment Design: Surge-Cap Algorithm for NYC (20:00–22:00) Context A new surge-cap algorithm is proposed to improve rider trip completion in NYC dur...
Design an ETA experiment under interference
Experiment Design: Estimating Causal Impact of a New Rider ETA Model in a Two-Sided Marketplace Context You are testing a new rider ETA model that cha...
Design a robust email A/B test
A/B Test Design: New Email Subject Line for Weekly Campaign You manage a weekly email campaign to 10 million users. Baseline unique click-through rate...
Write SQL for fares and age-band counts
You have two tables. Schema: - drivers(driver_id VARCHAR PRIMARY KEY, name VARCHAR, date_of_birth DATE) - trips(trip_id VARCHAR PRIMARY KEY, driver_id...