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
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
42 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
45 people solved
Jan 16, 2026
Uber logo
Uber
Hard
Software Engineer

Simulate and Construct Tournament Rankings

You are given a single-elimination tournament represented by an array of ranks. The array is a permutation of the integers 1..n, where a smaller numbe...

Coding & Algorithms
1
0
14 people solved
Apr 9, 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
91 people solved
Jan 6, 2026
Uber logo
Uber
Hard
Software Engineer

Solve Knight and Reversal Problems

The online assessment contained two coding problems: 1. Generalized knight shortest path: Given an integer n, consider an n x n chessboard with coordi...

Coding & Algorithms
17
0
115 people solved
Apr 2, 2026
Uber logo
Uber
Medium
Software Engineer

Design top-K tracker with linked lists

Design top-K tracker with linked lists Design a data structure that tracks the top-K most frequent keys in a stream. Support operations increment(key)...

Coding & Algorithms
12
0
100 people solved
Aug 1, 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
10
0
98 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
77 people solved
Sep 6, 2025
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

Produce a valid deployment order

You are given N services and a list of dependency pairs (A, B) meaning service B must be deployed before service A. Compute any valid deployment order...

Coding & Algorithms
15
0
107 people solved
Aug 12, 2025
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
228 people solved
Feb 20, 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
35
0
250 people solved
Feb 11, 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

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
457 people solved
Feb 11, 2026
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
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
78 people solved
Jan 22, 2026
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
67 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
46 people solved
Sep 6, 2025
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
78 people solved
Jan 10, 2026

Explore more Uber Software Engineer interview questions

Real questions from candidate reports, grouped by topic.

Other Uber Software Engineer categories
Browse all
Uber Software Engineer Coding & Algorithms Questions (Updated 2026) — Page 3 | PracHub