Uber data scientist interview questions on marketplace data

Uber data scientist interview questions focus on marketplaces in motion: experiments where riders and drivers affect each other, pricing and supply questions, ETA and demand forecasting, and metric diagnosis by city and hour. Expect SQL and Python, statistics and causal inference, product cases and behavioral questions. The loop varies by team and by title (data scientist or applied scientist), but candidates commonly describe a recruiter call, a technical screen and a final set of technical, case and behavioral interviews.

By Published 5 min read

How the Uber data science interview tends to run

Uber hires data scientists into product, marketplace, safety, maps, delivery, freight and finance teams, and some modeling-heavy roles carry the applied scientist title. Candidates describe varying loops; the pattern below is common but not fixed.

  1. Recruiter callBackground, team and title. Ask whether the role is analytics, experimentation or modeling heavy, and which marketplace it supports.
  2. Technical screenOften SQL and Python, sometimes with probability or statistics questions; some candidates report an online assessment.
  3. Final interviewsSeveral conversations covering statistics and experiments, a product or marketplace case, modeling for applied roles, coding, and behavioral questions with the hiring manager.

Experiments in a marketplace

In most products, giving one user a new feature does not change another user's experience. In a ride or delivery marketplace it does. If treated riders get a lower price and request more trips, the drivers they take are no longer available to control riders, whose wait times rise. A rider-level test then overstates the benefit. Marketplace companies have written about several answers: randomizing by region, by time window, or both (switchback designs), and modeling the spillover directly. Uber's engineering blog has described its own experimentation platform over the years; interviewers will expect you to understand the problem, not to know its internals.

import hashlib
from datetime import datetime

def switchback_arm(experiment, region, ts, window_minutes=30):
    """Return 'treatment' or 'control' for a region during the window containing ts."""
    epoch = datetime(1970, 1, 1)
    window = int((ts - epoch).total_seconds() // (window_minutes * 60))
    key = f"{experiment}:{region}:{window}".encode()
    bucket = int(hashlib.sha256(key).hexdigest(), 16) % 2
    return "treatment" if bucket else "control"
Deterministic switchback assignment: each region flips between arms every 30 minutes. Tested with Python 3.12.

Good follow-up points: pass timestamps in UTC so windows line up across services; hashing makes the assignment reproducible anywhere without a lookup table; windows too short let effects carry over from the previous arm (a driver repositioned under treatment is still there under control), so many designs drop a buffer at the start of each window; and with far fewer independent units than a user-level test, variance is higher and tests must run longer.

Statistics and experiment questions

Experimentation prompts
QuestionWhat it testsWhat a strong answer shows
Why might a rider-level test of a price discount overstate its effect?Interference.Shared driver supply, control riders made worse off, and designs that measure the market effect.
How would you choose the window length for a switchback test?Design trade-offs.Carryover against the number of units, and data on how fast the market reacts.
A driver incentive test shows more hours online but flat completed trips. Why?Market equilibrium.Demand did not grow, so drivers wait longer; earnings per hour may have fallen.
How would you test a new matching algorithm?Algorithm changes in a marketplace.Region or switchback designs, wait time and cancellations as metrics, and driver earnings as a guardrail.
What is the probability that two random trips in a city start within one kilometer? How would you estimate it?Probability with data.A simulation or spatial estimate from trip data, and the assumptions behind it.
Your test result differs a lot between cities. Pool or split?Heterogeneity.Checking for real differences in market conditions before choosing city-level decisions.
How would you estimate the long-term effect of a change on driver retention?Slow outcomes.Holdouts kept for months, survival analysis and early indicators validated against history.
How would you analyze a switchback test once it has finished?Analysis of clustered designs.Treating windows as units, accounting for correlation within regions and dropping carryover periods.
How would you test a change to the rider app's home screen that does not affect matching?When user-level tests are fine.Recognizing that interference is small here and a classic A/B test is appropriate.
Experimentation prompts. Scroll sideways on a small screen.

Pricing, supply and forecasting questions

Marketplace modeling prompts
QuestionWhat it testsWhat a strong answer shows
Explain what dynamic pricing does to a marketplace when demand spikes.Economic reasoning.Rationing scarce trips, drawing drivers online and repositioning them, and rider trust concerns.
How would you forecast rider demand by area for the next hour?Short-term forecasting.Recent demand, time of day, weather and events, and how errors at small areas are handled.
How would you build an ETA prediction model?Applied modeling.Route features, traffic, pickup difficulty, error measured by percentiles, and why underestimates hurt more.
Riders complain ETAs are optimistic. How do you check?Calibration.Comparing predicted and actual times by city, hour and trip type, and the bias in each.
How would you detect drivers or riders gaming a promotion?Fraud detection.Behavioral signals, graph patterns between accounts, and the cost of wrongly flagging real users.
How would you decide where to position couriers before a lunch rush?Optimization with uncertainty.Demand forecasts, travel times and fairness of earnings across couriers.
How would you predict how long a restaurant will take to prepare an order?Prep-time modeling.Restaurant history, order size, time of day and live signals such as current order volume.
How would you measure whether pricing feels fair to riders?Measuring perception.Surveys, complaints and cancellations after price display, compared across price levels.
Marketplace modeling prompts. Scroll sideways on a small screen.

SQL and metric diagnosis questions

Analytics prompts
QuestionWhat it testsWhat a strong answer shows
Compute each driver's share of online time spent on a trip, by week.Joins over time intervals.Overlapping intervals handled correctly and a clear definition of online time.
Find riders whose first trip was in the last 30 days and who took a second trip within 7 days.Window functions.First and second trip per rider with ROW_NUMBER or LEAD, and correct date windows.
Delivery times rose 10 percent in one city. Where do you look?Decomposition.Splitting time into prep, courier wait, pickup and travel, then checking each by hour.
Cancellations rose after an app release. How do you confirm the cause?Release analysis.Comparing users on the new and old versions, and checking the release timing against other changes.
What does a falling trips-per-active-rider metric tell you?Metric interpretation.Mix shift from new riders, reduced frequency or supply problems, and how to separate them.
Write a query for the median wait time per city and hour of day.Percentiles in SQL.PERCENTILE_CONT or an equivalent by group, and how the dialect affects the syntax.
How would you check whether a sudden drop in trips is a data pipeline problem?Data quality first.Comparing independent sources such as payments, checking row counts and pipeline logs.
Which metrics would you include in a weekly marketplace health report?Choosing a small set of signals.Requests, completion rate, wait times, earnings per hour and cancellations, by city.
Analytics prompts. Scroll sideways on a small screen.

Behavioral questions

  • "Tell me about an analysis you did under time pressure." How you scoped it, what you skipped and how you flagged uncertainty.
  • "Describe a time your recommendation was unpopular." Evidence, delivery and what you did when the decision went the other way.
  • "How do you work with operations or city teams?" Local knowledge as data, and sharing results in their language.
  • "Tell me about a metric you redefined." Why the old one misled and how you got people to adopt the new one.
  • "Why Uber?" A marketplace or logistics problem you find genuinely interesting.

Fictional example

Answering "Drivers worked more hours but trips stayed flat"
Interviewer
We tested a bonus for drivers who stay online in the evening. Hours online rose 12 percent in treatment cities, completed trips barely moved. Explain.
Candidate
Trips are limited by demand as well as supply. If evening demand was already being met, more drivers mostly means more waiting between trips. I'd check idle time and earnings per online hour; I'd expect idle time up and hourly earnings down outside the bonus.
Candidate
I'd also look at rider wait times. A small drop there is a real benefit even if trips are flat, and it could raise conversion from app opens to requests over time.
Candidate
Then the question is cost per minute of wait time saved, compared with other ways to reduce waits, and whether the bonus changed which drivers stay on the platform.
Interviewer
Would you continue the bonus?
Candidate
Only in markets where evening demand is undersupplied. I'd target it by city and hour, and test that targeted version next.

Preparation plan

  1. Marketplace basicsWrite a one-page explanation of supply, demand, pricing, matching and ETAs, with the metric for each side. Rehearse it aloud.
  2. Experiment design under interferencePractice five tests where a user-level design would mislead, and choose region, time or switchback alternatives.
  3. SQL and PythonInterval joins, first-and-second-event queries and small simulations in Python, tested against simple cases.
  4. Cases and storiesTwo diagnosis cases a day, plus five behavioral stories about pressure, disagreement and redefining a metric.

The Uber product manager guide covers the same marketplace from the product chair, and the Uber software engineer page and the ride-sharing system design walk-through explain the systems behind the data. For fundamentals, see data scientist interview questions, and compare with the Netflix data scientist guide, where interference is rarely the main problem.

Natively fits the practice side of this loop. Screenshot a probability or SQL prompt and it reads it and suggests an approach you can check against your own; run a mock marketplace case on a call and it transcribes it on your Mac or Windows computer, so you can see whether you named the driver side before the interviewer asked. It can also draw a quick diagram of a test design when you want to see it. With your résumé and the job description added (Pro or the free trial), its suggestions build on your own analyses. See the AI interview assistant.

Questions people ask

What questions are asked in an Uber data scientist interview?

Experiment design in a marketplace with interference, pricing and supply questions, ETA and demand forecasting, SQL and Python, metric diagnosis by city and hour, and behavioral questions.

What is a switchback experiment?

A design that assigns whole regions to treatment or control in alternating time windows, so riders and drivers in the same market share one condition. It reduces interference at the cost of fewer independent units.

What is the Uber data science interview process?

It varies by team and title. Candidates commonly describe a recruiter call, a technical screen or online assessment, and final interviews on statistics, cases, modeling, coding and behavior.

How should I prepare for an Uber data scientist interview?

Learn marketplace mechanics, practice experiment designs where user-level tests mislead, drill interval and window-function SQL, and run daily metric diagnosis cases.

Where to go next

Practice with the same assistant you would use on a call: it listens, transcribes and suggests answers from your own resume and the job description.

Facts on this page were last checked on . Product details come from the Natively app itself; if something here is out of date, tell us at hello@heynatively.com.

Keep reading

Put it on your own machine.

A live-conversation assistant that runs locally. Your conversations stay on your machine.

macOS 12+ · Windows 10/11

© 2026 Natively AI Private Limited

Source-available under the Natively Personal Use Source License v1.0 · IP geolocation by DB-IP