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
Machine Learning Engineer

Solve DFS grid and keypad problems

You may be asked to solve one or more DFS/backtracking problems: 1. Grid connectivity problem: Given an m x n grid where 1 represents land and 0 repre...

Coding & Algorithms
17
1
138 people solved
Mar 1, 2026
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
Software Engineer Locked

Group strings that are anagrams

This question evaluates string-processing and data-structuring competency, focusing on identifying and grouping anagrams through comparison of unorder...

Coding & Algorithms
14
0
203 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

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

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 Locked

Compute sums and max path in N-ary tree

This question evaluates implementation and traversal skills for N-ary tree data structures, including recursion/DFS techniques, aggregation of node va...

Coding & Algorithms
6
0
85 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
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

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 Locked

Find all dictionary words in a grid

This question evaluates skills in grid traversal, string-search and pattern-matching techniques, recursive backtracking, and the efficient use of data...

Coding & Algorithms
15
0
141 people solved
Jan 22, 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
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
Medium
Software Engineer Locked

Return sorted squares of a sorted array

This question evaluates array-processing and algorithmic optimization skills, including handling negative values, element-wise transformations, and pr...

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

Find earliest time all riders become connected

You are given a time-ordered log of events involving Uber riders. Each event has a timestamp and two rider names. Event types: 1. t X shared-ride-with...

Coding & Algorithms
15
0
110 people solved
Jan 3, 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