Uber Software Engineer Coding & Algorithms Interview Questions

Practice 118 real Coding & Algorithms interview questions for Software Engineer roles at Uber.

118 Questions 1 Company08.16.2026
Showing 20 results
Role
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
Hard
Software Engineer

Maintain the First Value That Appears Exactly Once

Design a data structure that maintains a stream of integers and returns the first value that appears exactly once. Implement: `python class FirstUniqu...

Coding & Algorithms
0
0
1 people solved
Apr 17, 2026
Uber logo
Uber
Medium
Software EngineerSenior+

Find Any Available Meeting Room

You are given multiple meeting rooms. For each room, the existing bookings are represented as a list of non-overlapping time intervals sorted by start...

Coding & Algorithms
9
0
55 people solved
Apr 16, 2026
Uber logo
Uber
Medium
Software Engineer

Find a Bounded Subarray and Largest Square

Implement the following two independent coding tasks. Task A: Longest bounded-range subarray Given an integer array nums and an integer limit, return ...

Coding & Algorithms
1
0
14 people solved
Apr 12, 2026
Uber logo
Uber
Medium
Software Engineer

Solve two interview coding problems

The interview included two coding problems. Problem 1: Find valid robot locations in a grid You are given a 2D grid containing empty cells and obstacl...

Coding & Algorithms
4
0
33 people solved
Apr 8, 2026
Uber logo
Uber
Medium
Software Engineer

Solve Balanced Permutations and Tree Reversals

You have 90 minutes to solve the following two independent coding problems. Problem 1: Balanced Prefix Values in a Permutation You are given a permuta...

Coding & Algorithms
10
0
111 people solved
Apr 3, 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

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

Solve BFS and grid tasks

The coding rounds included several algorithmic problems: 1. Threshold search with binary search: You are given floors 1..n and an API canOperate(floor...

Coding & Algorithms
12
0
91 people solved
Feb 22, 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

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

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
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
Uber logo
Uber
Easy
Software Engineer

Find smallest start index avoiding left exit

You are given an integer array jump of length n (0-indexed). If you are currently at index i, your next position becomes i + jump[i] (a positive value...

Coding & Algorithms
5
0
43 people solved
Dec 30, 2025
Uber logo
Uber
Hard
Software Engineer

Find cheapest flight with at most K stops

Problem You are given a directed weighted graph representing flights between cities. Inputs - An integer n: number of cities, labeled 0..n-1. - A list...

Coding & Algorithms
8
0
79 people solved
Dec 25, 2025

Explore more Uber Software Engineer interview questions

Real questions from candidate reports, grouped by topic.

Other Uber Software Engineer categories
Browse all