Uber Interview Questions
Practice the exact questions companies are asking right now.
Optimize Surge Notifications for Rideshare Drivers
Scenario A rideshare marketplace experiences airport demand spikes. When demand exceeds supply, the system can send surge-pricing push notifications t...
Analyze User Purchase Behavior in Online Marketplace Data
user_events +----------+------------+---------------------+-------------+ | user_id | event_type | event_timestamp | product_id | +----------+--...
Determine Sample Size for Promotion Campaign A/B Test
A/B Test Design for a Threshold Discount Promotion Scenario A company plans to launch a threshold-based promotion (e.g., "20% off when spending $40")....
Analyze T2 Results and Recommend Launch Strategy
A/B Test Interpretation, Launch Decision, Segmentation, and Multi-Experiment Error Control Context You ran two A/B tests on an e-commerce platform: - ...
Evaluate Promotion Campaign Effectiveness with A/B Testing
A/B Testing a San Francisco–Only January Promotion Background A consumer marketplace app plans to run a January 2024 promotion limited to San Francisc...
Evaluate Rider-Incentive Program Impact with Key Metrics
Scenario You are designing an evaluation for a new rider-incentive program in a two‑sided ride‑hailing marketplace (riders request trips; drivers supp...
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...
Evaluate Auto-Play Impact with Key Metrics and Experiment Design
Streaming Auto-Play Experiment: Metrics and Design Context A streaming platform is considering auto-playing the next episode to increase user engageme...
Assess Cultural Fit and Leadership Potential in Candidates
Behavioral and Leadership Phone Screen (Data Scientist) Context You are interviewing for a Data Scientist role in a technical phone screen focused on ...
Evaluate Push Notification Impact on Rideshare Supply Shortages
Experiment Design: Push Notifications for Airport Surge Shortage Resolution Context When rider demand at the airport exceeds available driver supply, ...
Evaluate Email Subject Line Performance Using Hypotheses
A/B Test of Email Subject Lines: CTR Hypotheses, CLT Justification, and Sample Size Context You are comparing click-through rates (CTRs) between a con...
Calculate January-2024 SF Promotion Impact Using SQL Queries
campaign_users +---------+-----------+ | user_id | treatment | +---------+-----------+ | 1001 | control | | 1002 | test | | 1003 | con...
Choose K pickup locations minimizing L1 distance
Coding: K Shuttle Pickup Locations (L1) You are given the coordinates of N people on a 2D grid. You want to open K shuttle pickup locations (pickup po...
Compute minimal time to finish dependent tasks
Coding: Task Scheduling With Prerequisites (Parallel Allowed) You have n tasks labeled 1..n. Each task takes exactly 1 unit of time to complete. Some ...
Design a restaurant recommendation system
ML System Design: Restaurant Recommendations (Delivery App) You are designing a restaurant recommendation system for a food delivery marketplace (e.g....
Answer leadership questions on tradeoffs and collaboration
Behavioral / Leadership Questions Answer using specific examples from your experience. 1. Project deep dive: Walk through a recent project end-to-end ...
Measure feature impact with switchback, PSM, and CACE
You work at a ridesharing company and want to measure the impact of a new membership feature on rides-per-user (RPU). Part A — Switchback experimentat...
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...
Improve robustness of graph cycle detection code
You have written code to detect cycles in a directed dependency graph of services, where nodes represent services and edges represent dependencies bet...
Detect cycle in directed dependency graph
You are given a directed dependency graph representing services in a system. - There are n services, labeled from 0 to n - 1. - You are given a list o...