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

Maximize stock profit with one or two trades

You are given an array prices where prices[i] is the price of a given stock on day i (0-indexed). You want to maximize your profit by choosing when to...

Coding & Algorithms
5
0
82 people solved
Nov 17, 2025
Uber logo
Uber
Hard
Software Engineer

Implement three interview-style coding tasks

You are given three separate coding tasks, all focused on algorithm and data-structure design. --- Task 1: Longest Bounded-Difference Subarray You are...

Coding & Algorithms
15
0
132 people solved
Nov 11, 2025
Uber logo
Uber
Hard
Software Engineer Locked

Minimize time using elevator then climb stairs

This question evaluates a candidate's ability to model and optimize a discrete decision under resource constraints, testing algorithmic optimization, ...

Coding & Algorithms
10
0
94 people solved
Oct 18, 2025
Uber logo
Uber
Medium
Software Engineer

Implement 2D word search variants and analyze complexity

Given an m x n grid of uppercase letters board and a string word, implement two related functions: ( 1) Fixed-direction search: Return true if word ap...

Coding & Algorithms
6
0
58 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
Software Engineer

Compute build order from dependencies

Given a set of package build dependencies, output a valid build order so that each package is built only after all of its dependencies. The input is a...

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

Solve minimum rate and subset sum

1) Minimum rate to finish vaults within a deadline: You are given an array vaults of positive integers representing the amount in each vault along a r...

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

Simulate one-round color elimination on a grid

Given an m x n integer matrix board where board[r][c] > 0 represents a color and 0 represents empty: ( 1) A nonzero cell at (r,c) explodes in this rou...

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

Count subarrays with ≥k identical pairs

Question LeetCode 2537. Count the Number of Good Subarrays – Given an integer array nums and an integer k, return the number of contiguous subarrays i...

Coding & Algorithms
4
0
52 people solved
Aug 4, 2025
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

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

Handle invalid Lisp expression parsing

Question LeetCode 736. Parse Lisp Expression – Given a string representing a Lisp-like expression containing let/add/mult operations and variable bind...

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

Design time-versioned KV without timestamp argument

Design a time-versioned key-value store that does not accept a timestamp argument on writes. Support set(key, value) which stores the value with an in...

Coding & Algorithms
3
0
74 people solved
Aug 1, 2025
Uber logo
Uber
Medium
Software Engineer

Implement binary search from scratch

Question Implement binary search on a sorted integer array without using any library helpers (no bisect, Arrays.binarySearch, etc.). Provide both iter...

Coding & Algorithms
11
0
83 people solved
Aug 1, 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

Explore more Uber Software Engineer interview questions

Real questions from candidate reports, grouped by topic.

Other Uber Software Engineer categories
Browse all