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

Find the First Unique Log

This question evaluates a candidate's ability to analyze and implement efficient data-processing and frequency-detection strategies on ordered string ...

Coding & Algorithms
3
0
49 people solved
Mar 4, 2026
Uber logo
Uber
Medium
Software Engineer

Solve 12 coding interview problems

Below are multiple independent coding problems. --- Problem 1: Reduce an integer to 0 with \(\pm 2^i\) You are given a positive integer \(n\). In one ...

Coding & Algorithms
352
0
3689 people solved
Feb 12, 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
84 people solved
Feb 11, 2026
Uber logo
Uber
Medium
Software Engineer

Determine balanced k values in a permutation

You are given a permutation p of the integers 1..n. For a number k (where 1 <= k <= n), call k balanced if there exists a contiguous subarray p[l..r] ...

Coding & Algorithms
33
0
272 people solved
Feb 11, 2026
Uber logo
Uber
Medium
Data Scientist

Design airport dispatch with ETA uncertainty

You control airport pickups with streaming ETAs for arriving flights and live driver locations/queues. Design an online dispatch algorithm that minimi...

Coding & Algorithms
15
0
103 people solved
Oct 13, 2025
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
44 people solved
Jan 30, 2026
Uber logo
Uber
Medium
Data Scientist Locked

Move zeros to the front

This question evaluates array manipulation and in-place algorithm competencies, including handling space-time trade-offs and preserving relative order...

Coding & Algorithms
4
0
38 people solved
Jan 30, 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
59 people solved
Jan 28, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Bracket substrings matching any pattern

This question evaluates string manipulation and pattern-matching competency, including substring search, prioritization rules for leftmost and longest...

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

Find robots matching obstacle-distance signature

This question evaluates spatial reasoning on 2D grids, the ability to compute distance signatures to nearest obstacles, and careful handling of bounda...

Coding & Algorithms
10
0
148 people solved
Jan 20, 2026
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

Simulate views on an n-ary tree

Given a rooted, ordered n-ary tree (each node has a value and an ordered list of children), simulate an observer who starts at the bottom-left, moves ...

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

Design top-K frequency structure

Design an in-memory data structure that supports: add(x) to observe an item, inc(x) to increment its frequency, dec(x) to decrement (deleting when zer...

Coding & Algorithms
6
0
63 people solved
Sep 6, 2025
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
41 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
5
0
43 people solved
Jan 16, 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
86 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
90 people solved
Jan 6, 2026
Uber logo
Uber
Medium
Machine Learning Engineer

Compute currency conversion via graph search

Given a list of currency pairs, e.g., [('USD','CAD'), ('CAD','EUR'), ...], and a parallel list of conversion ratios [1.1, 1.2, ...] where ratio r mean...

Coding & Algorithms
8
0
124 people solved
Aug 13, 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
62 people solved
Dec 28, 2025
Uber logo
Uber
Medium
Machine Learning Engineer

Choose K pickup locations minimizing L1 distance

Coding: K Shuttle Pickup Locations (L1) You are given the coordinates of N people on a 2D grid. You want to open K shuttle pickup locations (pickup po...

Coding & Algorithms
30
0
314 people solved
Dec 15, 2025

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