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

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

Coding & Algorithms
6
0
90 people solved
Dec 8, 2025
Uber logo
Uber
Medium
Software Engineer

Compute exclusive execution time from logs

Problem You are given execution logs from a single-threaded CPU that runs n functions labeled 0..n-1. The CPU can run only one function at a time. A f...

Coding & Algorithms
9
0
92 people solved
Nov 27, 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
79 people solved
Nov 17, 2025
Uber logo
Uber
Medium
Data Scientist

Compute square root to 1 decimal

Problem Given a non-negative real number x, implement a function sqrt1dp(x) that returns \(\sqrt{x}\) rounded (or truncated—clarify with interviewer) ...

Coding & Algorithms
15
0
109 people solved
Sep 16, 2025
Uber logo
Uber
Medium
Software Engineer

Find next and closest palindromes

Given a non-negative integer represented as a string n (no leading zeros unless n == "0"), return the smallest palindromic integer strictly greater th...

Coding & Algorithms
6
0
66 people solved
Sep 6, 2025
Uber logo
Uber
Medium
Software Engineer

Find leftmost point of maximum brightness

You are given an array of lights, where each light is [p, r] representing a lamp centered at coordinate p on the real number line with radius r, illum...

Coding & Algorithms
2
0
45 people solved
Sep 6, 2025
Uber logo
Uber
Medium
Software Engineer

Simulate fixed-shape tiling on a grid

You are given an empty n-by-m grid and a list of tile patterns, patterns[0..k-1]. Each pattern is a binary matrix (1 = filled cell, 0 = hole) and must...

Coding & Algorithms
9
0
96 people solved
Sep 6, 2025
Uber logo
Uber
Medium
Software Engineer

Find earliest common meeting slot

Question Given the calendars of N attendees, find the earliest time window of length at least d minutes during which all attendees are simultaneously ...

Coding & Algorithms
11
0
82 people solved
Sep 6, 2025
Uber logo
Uber
Medium
Software Engineer

Solve vault rate and subset-sum

1) Robber vaults rate: You are given an array vaults of positive integers where vaults[i] is the amount in the i-th vault, and an integer h (hours). I...

Coding & Algorithms
7
0
65 people solved
Sep 6, 2025
Uber logo
Uber
Medium
Machine Learning Engineer

Design room progression with leaderboard

Design a data structure to simulate a sequence of rooms where players solve tasks and can move only to the next room once finished. Support the follow...

Coding & Algorithms
14
0
117 people solved
Sep 6, 2025
Uber logo
Uber
Medium
Software Engineer

Count subarrays with at least k fruit pairs

Given an integer array nums where each value denotes a fruit type, and an integer k: For any subarray, define a 'pair' for fruit value v if its freque...

Coding & Algorithms
9
0
77 people solved
Sep 6, 2025
Uber logo
Uber
Medium
Software Engineer

Find minimal rate k and subset sum

Question LeetCode 875. Koko Eating Bananas — Given vault sizes [3, 6, 7, 11] and time h = 8 hours, find the minimum integer rate k (vault units per ho...

Coding & Algorithms
50
0
359 people solved
Aug 4, 2025
Uber logo
Uber
Medium
Software Engineer

Implement rate limiter, top-K, scheduler algorithms

Question Design and implement a thread-safe Rate Limiter; extend it to support multi-threading and a version where current time is not passed as an ar...

Coding & Algorithms
6
0
64 people solved
Aug 4, 2025
Uber logo
Uber
Medium
Software Engineer

Parse and evaluate nested expressions with validation

Design and implement a parser/evaluator for a parenthesized expression language where the input string may be invalid. The language uses spaces as tok...

Coding & Algorithms
3
0
60 people solved
Jul 31, 2025
Uber logo
Uber
Medium
Software Engineer

Simulate robot on grid with obstacles

Simulate robot on grid with obstacles A robot starts at (0, 0) on an unbounded integer grid. You are given a sequence of commands consisting of charac...

Coding & Algorithms
7
0
80 people solved
Jul 15, 2025
Uber logo
Uber
Medium
Software EngineerSenior+

Thread-Safe Token-Bucket Rate Limiter

Thread-Safe Token-Bucket Rate Limiter Design and implement a thread-safe rate limiter using the token bucket algorithm. The limiter is shared by many ...

Coding & Algorithms
0
0
6 people solved
Jun 28, 2026
Uber logo
Uber
Medium
Software EngineerSenior+

Group Anagrams

Group Anagrams Given an array of strings words, group together all strings that are anagrams of one another and return the groups. Two strings are ana...

Coding & Algorithms
1
0
10 people solved
Jun 28, 2026
Uber logo
Uber
Easy
Software EngineerNew Grad Locked

Sort a String of Clothing Sizes

Sort a string containing only S, M, and L into size order in linear time. Extend the discussion to custom token orderings, unknown-size behavior, empt...

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

Reconstruct the Alphabet Order of an Alien Language

This question tests graph construction and topological sorting, core algorithmic skills for reasoning about partial orderings derived from constraints...

Coding & Algorithms
0
0
1 people solved
Jun 8, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Maximize Throughput and Count Trigger Components

This question evaluates proficiency in algorithmic optimization under resource constraints (maximizing pipeline throughput within a budget) and in mod...

Coding & Algorithms
1
0
12 people solved
May 28, 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