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
Medium
Software Engineer

Find minimum activations to absorb all balls

You are given n balls on a 2D plane, where ball i is at coordinate \((x_i, y_i)\). You are also given a distance threshold d. Two balls are considered...

Coding & Algorithms
20
0
257 people solved
Mar 1, 2026
Uber logo
Uber
Medium
Data ScientistNew Grad Locked

Implement FizzBuzz

This question evaluates a candidate's ability to implement basic control flow, use modulo operations, iterate over sequences, and reason about time an...

Coding & Algorithms
4
0
51 people solved
Feb 27, 2026
Uber logo
Uber
Medium
Software Engineer

Find Kth Smallest in BST

You are given the root of a binary search tree and an integer k. Return the value of the node that would appear in the kth position if all node values...

Coding & Algorithms
3
0
49 people solved
Feb 25, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Find possible robot positions

This question evaluates a candidate's ability to reason about grid traversal, boundary conditions, directional visibility counting, and constraint-bas...

Coding & Algorithms
4
0
97 people solved
Feb 21, 2026
Uber logo
Uber
Medium
Software Engineer

Count connected islands using Union-Find

You are given an m x n grid of characters where '1' represents land and '0' represents water. An island is a group of horizontally or vertically adjac...

Coding & Algorithms
29
0
227 people solved
Feb 20, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Compute max reachable cells per threshold

This question evaluates a candidate's ability to reason about constrained grid reachability and efficient handling of multiple threshold queries, test...

Coding & Algorithms
35
0
261 people solved
Feb 12, 2026
Uber logo
Uber
Hard
Software Engineer

Check if each prefix forms 1..k permutation

You are given an integer array arr of length n that is a permutation of the numbers 1..n (each number appears exactly once), but in arbitrary order. F...

Coding & Algorithms
20
0
204 people solved
Feb 11, 2026
Uber logo
Uber
Medium
Software Engineer

Solve these algorithmic problems

You are given the following independent coding tasks. For each task, design an algorithm and implement a function that returns the requested output. -...

Coding & Algorithms
57
1
456 people solved
Feb 11, 2026
Uber logo
Uber
Medium
Software Engineer

Find minimum reversals to orient edges away from root

You are given a connected graph with n nodes labeled 0..n-1 and n-1 directed edges. If you ignore edge directions, the edges form a tree. Each directe...

Coding & Algorithms
34
0
249 people solved
Feb 11, 2026
Uber logo
Uber
Medium
Software Engineer

Compute final prices with next smaller discount

You are given an integer array prices of length n, where prices[i] is the original price of the i-th item. For each item i, find the first index j > i...

Coding & Algorithms
6
0
83 people solved
Feb 11, 2026
Uber logo
Uber
Easy
Data Scientist Locked

How would you design an ETA prediction system?

This question evaluates a data scientist's capability to design an end-to-end ETA prediction system, testing competencies in machine learning modeling...

Machine Learning
9
0
103 people solved
Feb 6, 2026
Uber logo
Uber
Medium
Data Scientist

Move zeros to the front

Given an integer array nums, move all elements equal to 0 to the beginning of the array while preserving the relative order of all non-zero elements. ...

Coding & Algorithms
4
1
55 people solved
Feb 1, 2026
Uber logo
Uber
Medium
Software Engineer

Solve Prime Jumps and Pipeline Scaling

An online assessment contains two independent coding problems. Solve both. Problem 1: Prime-Constrained Score Jump You are given an integer array scor...

Coding & Algorithms
4
0
43 people solved
Jan 30, 2026
Uber logo
Uber
Medium
Data Scientist Locked

How should Uber evaluate lower ETA?

This question evaluates competency in metrics design, causal inference, and experiment strategy for two-sided marketplaces, including detecting and ad...

Analytics & Experimentation
7
0
47 people solved
Jan 30, 2026
Uber logo
Uber
Medium
Software Engineer

Find shortest jumps in circular array

You are given a circular array arr of length n. From index i, you may jump exactly arr[i] steps either to the left or to the right (wrapping around th...

Coding & Algorithms
11
0
111 people solved
Jan 28, 2026
Uber logo
Uber
Medium
Software Engineer

Return a Package Build Order

You are given an API: `python get_dependencies(package) -> list[str] ` It returns the direct dependencies of a given package. If package A depends on ...

Coding & Algorithms
4
0
58 people solved
Jan 28, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Find earliest time all riders become connected

This question evaluates graph connectivity and dynamic event-processing skills, testing conceptual understanding of connectivity in undirected graphs ...

Coding & Algorithms
47
0
350 people solved
Jan 22, 2026
Uber logo
Uber
Medium
Data Scientist Locked

Move zeros to front

This question evaluates array manipulation and in-place algorithm skills, specifically competency in stable element reordering, index management, and ...

Coding & Algorithms
4
0
31 people solved
Jan 18, 2026
Uber logo
Uber
Hard
Software Engineer Locked

Determine Threshold-Constrained Connectivity

This question evaluates understanding of graph algorithms and constrained connectivity, testing skills in reasoning about weighted undirected graphs, ...

Coding & Algorithms
4
0
69 people solved
Jan 17, 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

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