Uber Interview Questions

Uber Coding & Algorithms Interview Questions

Practice 303 real Uber interview questions for 2026. Covers top categories — Coding & Algorithms, Analytics & Experimentation, Machine Learning, Behavioral & Leadership, Statistics & Math — across Software Engineer, Data Scientist, Machine Learning Engineer, and Technical Program Manager roles. Real questions from actual interviews with detailed solutions, focused guidance, and concrete interview preparation so you can practice the exact problem types Uber asks. Expect a coding-heavy loop for software engineering candidates: timed algorithm problems, online-assessment style OAs, and system-design tasks. For Software Engineer roles the recurring technical themes here are algorithm puzzles (kth-smallest-in-BST, knight/grid and reversal problems, prime-ending path counts), OA-style coding questions, and product-oriented design prompts such as a pickup-area driver queue and global nearby-restaurant search. Data Scientist questions center on membership/discount experiments, cold-start restaurant ratings and their launch evaluation, driver-acceptance modeling, and marketplace-impact analyses. Machine Learning Engineer prompts focus on completion-rate gaps, implementing attention and regression models, feed-ranking and restaurant-recommendation design, and pickup-location optimization. TPM items emphasize delivery-address fixes, competitive product comparisons, and leadership stories. Prepare by timing practice coding, rehearsing marketplace case studies, building short model write-ups, and polishing STAR examples for behavioral rounds.

303 Questions 1 Company07.03.2026
Showing 20 results
Role
Uber logo
Uber
Hard
Software Engineer Locked

Maximize Minimum Scaled Value

This question evaluates algorithmic optimization and resource-allocation skills, focusing on integer scaling under a global budget to maximize the min...

Coding & Algorithms
2
0
40 people solved
Jan 16, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Track Customer Referral Revenue

This question evaluates understanding of dynamic data structure design and algorithms for maintaining aggregated metrics over a referral tree, specifi...

Coding & Algorithms
4
0
42 people solved
Jan 16, 2026
Uber logo
Uber
Medium
Software Engineer

Count paths with prime-ending jumps

You are given an integer n representing the top of a staircase, where you start at step 0 and want to land exactly on step n. In one move, you may jum...

Coding & Algorithms
2
0
35 people solved
Jan 15, 2026
Uber logo
Uber
Medium
Data Scientist

Convert a PDF to a CDF

Given a continuous random variable X with probability density function f(x), write code or describe an algorithm to construct its cumulative distribut...

Coding & Algorithms
10
0
77 people solved
Jan 14, 2026
Uber logo
Uber
Hard
Software Engineer Locked

Solve jump maximization and palindromic path queries

This pair of problems evaluates algorithmic problem-solving skills: the first assesses array-based path optimization and stateful score maximization u...

Coding & Algorithms
9
0
85 people solved
Jan 8, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Implement an expiring counter class

This question evaluates a candidate's competency in implementing a sliding-window expiring counter, testing knowledge of streaming algorithms, data st...

Coding & Algorithms
10
0
89 people solved
Jan 6, 2026
Uber logo
Uber
Easy
Software Engineer

Find smallest start index avoiding left exit

You are given an integer array jump of length n (0-indexed). If you are currently at index i, your next position becomes i + jump[i] (a positive value...

Coding & Algorithms
5
0
43 people solved
Dec 30, 2025
Uber logo
Uber
Medium
Software Engineer

Build a Quadtree and Analyze a Graph

Solve the following two coding problems. 1. Build a quadtree from an image You are given an N x N matrix of integers representing an image, where N is...

Coding & Algorithms
8
0
61 people solved
Dec 28, 2025
Uber logo
Uber
Hard
Software Engineer

Find cheapest flight with at most K stops

Problem You are given a directed weighted graph representing flights between cities. Inputs - An integer n: number of cities, labeled 0..n-1. - A list...

Coding & Algorithms
8
0
79 people solved
Dec 25, 2025
Uber logo
Uber
Medium
Machine Learning Engineer

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 ...

Coding & Algorithms
11
0
140 people solved
Dec 15, 2025
Uber logo
Uber
Hard
Software Engineer

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...

Coding & Algorithms
7
0
78 people solved
Nov 17, 2025
Uber logo
Uber
Hard
Software Engineer

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...

Coding & Algorithms
5
0
82 people solved
Nov 17, 2025
Uber logo
Uber
Hard
Software Engineer

Implement three interview-style coding tasks

You are given three separate coding tasks, all focused on algorithm and data-structure design. --- Task 1: Longest Bounded-Difference Subarray You are...

Coding & Algorithms
15
0
132 people solved
Nov 11, 2025
Uber logo
Uber
Easy
Data Scientist Locked

Design metrics and A/B test for maps and ETA

This question evaluates proficiency in metrics design, causal inference, and experimentation for product and marketplace features, specifically testin...

Analytics & Experimentation
18
0
192 people solved
Nov 9, 2025
Uber logo
Uber
Medium
Software Engineer

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...

Coding & Algorithms
14
0
142 people solved
Oct 28, 2025
Uber logo
Uber
Medium
Software Engineer

Print directory tree with indentation

You are given a root directory of a filesystem represented as a tree. Each node is either a directory (can have children) or a file (no children). Pri...

Coding & Algorithms
15
0
113 people solved
Oct 18, 2025
Uber logo
Uber
Hard
Data Scientist Locked

Design station experiment with interference and rush-hour spillovers

This question evaluates a data scientist's competency in experimental design and causal inference under interference and non-stationarity, covering sk...

Analytics & Experimentation
12
0
97 people solved
Oct 13, 2025
Uber logo
Uber
Medium
Data Scientist

Write SQL for active counts and YTD top driver

Given the following schema and sample data, write SQL to: (a) return the total count of active riders and active drivers on the platform; (b) return t...

Data Manipulation (SQL/Python)
1
0
10 people solved
Oct 13, 2025
Uber logo
Uber
Hard
Data Scientist Locked

Choose between A/B and switchback for spillovers

This question evaluates experimental-design and causal-inference competencies, specifically handling interference and spillovers, defining experimenta...

Analytics & Experimentation
10
0
95 people solved
Oct 13, 2025
Uber logo
Uber
Medium
Data Scientist

Implement weighted sampling without replacement

Implement in Python a function sample_k(items, weights, k) that returns k items without replacement with probability proportional to weight. Requireme...

Coding & Algorithms
8
0
121 people solved
Oct 13, 2025

Frequently Asked Questions

How hard are Uber interview questions?
Uber interview questions range from moderate to very challenging depending on role and level. Software Engineer loops emphasize data structures, algorithms and system-design problems that often require multi-step solutions and production tradeoffs, so expect mid-to-hard coding and design tasks. Data Scientist interviews skew toward analytics, experimentation and marketplace judgment with case-style product questions that reward rigorous causal thinking. Machine Learning Engineer rounds mix implementation and ML-system design, and TPM questions focus on program delivery and stakeholder tradeoffs. Preparation quality and interview level (junior vs senior) are the main determinants of perceived difficulty.
What is Uber's interview process and which roles ask these question types?
The typical Uber hiring sequence starts with a recruiter screen, followed by one or two technical phone or take-home assessments for some roles, then an onsite or virtual loop of four to six interviews and a hiring-committee review. Software Engineer rounds concentrate on coding, online assessment problems and system design. Data Scientist interviews emphasize SQL, experiments, product-analytics cases and behavioral ownership. Machine Learning Engineer interviews add ML model implementation and productionization questions. Technical Program Manager interviews focus on cross-functional program examples and behavioral leadership. Timelines usually span three to six weeks.
How long should I prepare for an Uber interview and how should I structure my timeline?
Plan your preparation based on role and current skill level. For Software Engineer positions allocate six to twelve weeks focusing on timed coding practice, mock interviews and system-design case work. Data Scientist candidates should budget three to six weeks prioritizing SQL, experimentation, product-case practice and clear storytelling about impact. Machine Learning Engineers need four to eight weeks combining model implementation, systems design and coding. TPM candidates can prepare in two to four weeks concentrating on program examples and stakeholder communication. Include final-week full mock loops and a review of role-specific Uber product scenarios.
Which specific subtopics should I focus on for each position at Uber?
For Software Engineers concentrate on algorithmic patterns seen in past Uber questions: BST kth-smallest, graph and knight problems, two online-assessment algorithm tasks, queue design for pickup-area driver matching, and product-oriented designs like global nearby-restaurant search and trade-off-driven design changes. Data Scientists should drill A/B testing, causal inference, cold-start rating models, marketplace evaluation (driver acceptance, membership and priority delivery impact) and translating analyses into action. Machine Learning Engineers should practice implementing attention, linear and logistic regression, feed ranking and ML-system tradeoffs including pickup-location optimization. TPMs should rehearse unclear-address resolution and cross-product comparisons with crisp ownership stories.
What standout tips and common pitfalls should I know before interviewing at Uber?
Standout tips: always clarify requirements and constraints up front, structure answers around measurable metrics and business impact, and narrate tradeoffs between latency, cost and accuracy. Use concrete examples from marketplace contexts and quantify outcomes when possible. For coding, write clean, testable code and discuss complexity and edge cases. Common pitfalls include skipping assumptions, failing to justify metric choices in product/analytics problems, neglecting production implications for ML designs, and overfitting to toy solutions instead of addressing scale and reliability. End with clear next steps or monitoring plans to show ownership.

Explore more Uber interview questions

Jump straight to Uber questions for a specific role or category.

By role
By category
In-depth guides
Across all companies