Uber Interview Questions
Master your tech interview with our curated database of real questions from top companies.
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...
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...
Maximize stock profit with one or two trades
You are given an array prices where prices[i] is the price of a given stock on day i (0-indexed). You want to maximize your profit by choosing when to...
Design a ride-hailing platform like Uber
You are asked to design a large-scale ride-hailing platform similar to Uber. Requirements Functional requirements - Riders can: - Sign up, log in, a...
Check feasibility of AI course schedule
You are designing a learning path for n AI-related courses, labeled from 0 to n - 1. Some courses have prerequisites. For example, to take course b, y...
Design an object-oriented parking lot system
Design an object-oriented model for a parking lot management system. Requirements: - The parking lot has multiple levels; each level has multiple park...
Compute outer boundary of an N-ary tree
You are given the root of a rooted N-ary tree. Each node contains: - An integer value. - An ordered list of children from left to right (0 or more chi...
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...