Uber Coding & Algorithms Interview Questions

Uber Coding & Algorithms interview questions center on practical problem solving at scale: expect timed coding exercises that mirror real engineering tasks rather than brainteasers. Interviews often use an online assessment (CodeSignal) and live 30–45 minute coding sessions on a whiteboard or shared editor, followed by deeper loop interviews for onsite or virtual rounds. What’s distinctive is the emphasis on clear, production-minded solutions that consider runtime and memory, edge cases, and how an approach would behave under Uber’s low-latency, geo-distributed constraints. For interview preparation, focus on algorithmic patterns (arrays, strings, trees, graphs, dynamic programming, hashing, sliding windows, and heaps) and on communicating trade-offs, complexity, and correctness as you code. Practice timed problems, run mock interviews, and rehearse explaining design choices and optimizations aloud. Senior candidates should also be ready to connect coding choices to system-level concerns like scaling and reliability. Good preparation shows up as concise planning, clean code, thoughtful test cases, and calm recovery from mistakes.

142 Questions 1 Company07.03.2026
Showing 20 results
Role
Uber logo
Uber
Medium
Software Engineer Locked

Count Islands After Land Additions

This question evaluates understanding of dynamic connectivity, incremental graph updates, and algorithmic efficiency when maintaining connected compon...

Coding & Algorithms
1
0
15 people solved
May 11, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Implement Minesweeper and Word Search

This multi-part prompt evaluates grid-based algorithmic skills, including randomized board construction with neighbor counting, straight-line pattern ...

Coding & Algorithms
2
0
15 people solved
May 7, 2026
Uber logo
Uber
Medium
Frontend Engineer Locked

Implement a Constant-Time Random Pool

This question evaluates a candidate's ability to design and implement an efficient data structure supporting average O(1) add, remove, and uniform ran...

Coding & Algorithms
1
0
15 people solved
May 4, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Implement Cache Eviction And Seat Assignment

This question evaluates understanding of data structure design and algorithmic reasoning, covering cache eviction policies (least-recently-used) and s...

Coding & Algorithms
0
0
9 people solved
May 4, 2026
Uber logo
Uber
Medium
Software Engineer

Perform matrix Candy Crush elimination

Question Implement a function that, given an m × n integer matrix representing colored blocks (same integers = same color), performs one round of "Can...

Coding & Algorithms
4
0
70 people solved
Aug 4, 2025
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
5
0
99 people solved
Feb 21, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Design structure for bottom-K customers by revenue

This question evaluates data structure design and algorithmic complexity for dynamic order-statistics and update operations, focusing on maintaining c...

Coding & Algorithms
7
0
81 people solved
Oct 29, 2025
Uber logo
Uber
Medium
Software Engineer Locked

Evaluate an Arithmetic Expression

This question evaluates proficiency in parsing arithmetic expressions, handling unary and binary operators, parentheses, whitespace, numeric tokenizat...

Coding & Algorithms
1
0
9 people solved
May 1, 2026
Uber logo
Uber
Medium
Data ScientistNew Grad Locked

Compute CDF from a PDF Function

This question evaluates a candidate's skills in numerical integration, applied numerical methods, and probability/statistics by requiring construction...

Coding & Algorithms
3
0
42 people solved
Apr 30, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Compute time for virus to infect grid

This question evaluates a candidate's ability to reason about grid-based state propagation, algorithmic problem solving, and performance consideration...

Coding & Algorithms
23
0
180 people solved
Feb 12, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Compute sums and maximum path in a tree

This question evaluates understanding and implementation of binary tree traversal, recursion, aggregation of node values, and computation of maximum s...

Coding & Algorithms
5
0
75 people solved
Feb 11, 2026
Uber logo
Uber
Easy
Software Engineer

Solve three algorithmic optimization and search problems

You are given three independent coding problems. --- Problem 1: Allocate tasks between two workers to maximize reward You have n independent tasks tha...

Coding & Algorithms
13
0
98 people solved
Oct 7, 2025
Uber logo
Uber
Medium
Software Engineer Locked

Count Valid Infection Orders

This question evaluates combinatorial enumeration and algorithmic reasoning by counting valid sequences of state changes in a linear infection process...

Coding & Algorithms
2
0
24 people solved
Apr 21, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Determine Whether Queries Can Zero Array

This question evaluates understanding of range-based array operations and feasibility under bounded per-index decrements, testing skills in interval r...

Coding & Algorithms
2
0
27 people solved
Apr 17, 2026
Uber logo
Uber
Medium
Software EngineerNew Grad Locked

Determine Whether Queries Can Zero Array

This question evaluates competency in array manipulation, range updates, and feasibility under constraints, focusing on reasoning about sequential int...

Coding & Algorithms
3
0
51 people solved
Apr 17, 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
71 people solved
Jan 17, 2026
Uber logo
Uber
Medium
Software Engineer

Produce a valid deployment order

You are given N services and a list of dependency pairs (A, B) meaning service B must be deployed before service A. Compute any valid deployment order...

Coding & Algorithms
15
0
105 people solved
Aug 12, 2025
Uber logo
Uber
Medium
Data ScientistNew Grad Locked

Implement FizzBuzz

This question evaluates basic programming and algorithmic reasoning, including control flow, modular arithmetic, string handling, and the ability to a...

Coding & Algorithms
4
0
64 people solved
Mar 22, 2026
Uber logo
Uber
Medium
Machine Learning Engineer

Count connected delivery zones

Given an m x n grid representing a service area, each cell is either 'Z' (deliverable zone) or '#' (blocked). Two 'Z' cells belong to the same zone if...

Coding & Algorithms
5
0
85 people solved
Sep 6, 2025
Uber logo
Uber
Easy
Machine Learning EngineerIntern

Analyze sales with groupby

You are given three pandas DataFrames representing a food delivery marketplace: - orders(order_id, product_id, quantity, unit_price, status) - product...

Coding & Algorithms
4
0
41 people solved
Mar 9, 2026

Frequently Asked Questions

How difficult are Uber Coding & Algorithms interview questions?
Uber Coding & Algorithms interview questions are often rated medium to hard, with difficulty rising by level and role. For entry level positions you can expect many LeetCode medium problems and a few harder variations; for senior roles expect a heavier mix of challenging graph, dynamic programming, and optimization problems. Interviewers evaluate correctness, algorithmic choice, code quality, time and space complexity, and your ability to iterate under pressure. Performance is judged not only on solving the problem but on clear explanations, tradeoff awareness, and handling edge cases and follow-up optimizations.
What is the typical interview process and where do Coding & Algorithms questions appear?
Coding and algorithms show up across multiple stages of Uber's hiring funnel. Many candidates see an initial online assessment or screening task, followed by one or two technical phone or virtual interviews focused on coding. Onsite or loop interviews usually include two to three algorithmic coding rounds, sometimes a machine-coding or pair-programming exercise, plus system or design rounds for higher levels. Recruiters may also schedule a bar-raiser or hiring manager discussion. Expect to write working code while talking through your approach, and to face follow-up constraints or optimization prompts during the same session.
How should I schedule my preparation timeline for Uber Coding & Algorithms?
A focused timeline of three to twelve weeks works well depending on background and target level. Begin with two to four weeks strengthening fundamentals: arrays, strings, trees, graphs, hashing, sorting, and complexity analysis. Spend the next three to six weeks solving medium and hard problems, practising timed sessions and mock interviews. Reserve the final one to two weeks for system-level polishing: reviewing common patterns, running full mock interviews, and rehearsing clear explanations and edge-case testing. Adjust intensity if you are aiming for senior roles; add more systems and advanced algorithm practice accordingly.
What key subtopics in Coding & Algorithms should I focus on for Uber interviews?
Prepare core algorithmic areas that frequently appear: array and string manipulations, two pointers, sliding windows, hashing, sorting, trees and binary search trees, heaps, graphs (BFS, DFS, shortest paths), and dynamic programming. Also practice design of efficient data structures, complexity tradeoffs, recursion vs iterative solutions, and bit manipulation. Pay attention to implementation details such as null and boundary handling, memory constraints, and test-case generation. For some teams, geospatial, routing or pathfinding nuances are emphasized, so be comfortable mapping problems to appropriate graph or greedy strategies.
What standout tips and common pitfalls should I keep in mind for Uber coding interviews?
Communicate clearly: state assumptions, describe the plan, and verbalize complexity tradeoffs before coding. Start with a correct brute force then optimize, and validate with quick examples and edge cases. Manage time by setting micro-deadlines in the interview and avoid premature over-optimization. Common pitfalls include not asking clarifying questions, skipping tests, ignoring space constraints, and failing to explain design choices. For coding rounds, write clean, modular code and handle bounds and nulls explicitly. If stuck, outline alternatives and test partial solutions to demonstrate progress and problem-solving mindset.

Explore more Uber Coding & Algorithms interview questions

Real questions from candidate reports, grouped by role, topic and company.

By role
Other categories at Uber
Coding & Algorithms questions at other companies
Browse all