Uber interview questions
Online test → Technical → System design → HR·56% entry level
DSA
Showing 34 of 75 reported in this area
Convert a number from base 2 to base 6.
Burst Balloons: Given an array of balloons with numbers, find the maximum coins you can collect by bursting the balloons optimally.
Find all bridges in a graph.
Delete a node in a doubly linked list
Find strongly connected components in a directed graph
Allocate minimum number of pages (variable binary search variant)
MARTIAN - Collect maximum martians using dynamic programming on a grid
Maximum Width of Binary Tree – Find the maximum width of a binary tree
Given a final amount, print any list of dishes whose prices sum exactly to that amount.
BALLOT - Determine the minimum possible maximum number of ballots per box given constraints
Maximum Width of Binary Tree: Given a binary tree, find the maximum width among all levels.
Follow-up optimization or variation on the previously discussed dynamic programming problem.
Given the schedules of multiple people, find time intervals when at least one person is available.
Given the schedules of multiple people, find a time interval when all of them are available to meet.
Given a string of digits, find the total number of valid IP addresses that can be formed by inserting dots.
Given a monotonic equation or function, find the value of N that satisfies the equation using binary search.
Given a number n, find the number of valid parentheses expressions of length n without using the Catalan number formula.
Pacific Atlantic Water Flow – Find all cells in a matrix from which water can flow to both the Pacific and Atlantic oceans
Given an encoded string containing letters, digits, and square brackets (e.g., 2[a2[b3[c]]]), decode it to its expanded form.
Weighted Random Numbers – Design a data structure to pick an index randomly where the probability is proportional to its weight
Given a string and a 2D matrix of characters, check whether the string exists in the matrix by sequentially adjacent characters.
Given multiple boxes with height and width constraints, determine the maximum number of boxes that can be nested inside one another
Pacific Atlantic Water Flow: Given a matrix of heights, determine which cells can flow water to both the Pacific and Atlantic oceans.
Given an array of struct nodes, check whether all nodes form exactly one valid binary tree and that no nodes outside the array are referenced
Given an array A of N elements, find the minimum number of replacements required to make the array elements form a continuous sequence of integers.
Given N ropes with lengths A[i], you can cut ropes into smaller pieces. Find the maximum possible rope length such that at least K ropes of that length can be obtained.
Weighted Random Number Generation: Given numbers with associated weights, generate a random number such that the probability of each number is proportional to its weight.
Given a binary string consisting of 0s and 1s, find the maximum value of K such that repeatedly flipping all substrings of length K can make all characters of the string equal to 0.
Given a string s and an integer k, find the length of the longest substring that can be obtained by replacing at most k characters so that all characters in the substring are the same.
Given initial capital and n crops, each with a minimum capital requirement and profit, choose at most k crops to maximize final capital, where profit from a crop increases the capital.
Find the maximum number of boxes that can be nested inside each other given a list of boxes, where each box has a height and width, and a box can be placed inside another only if both height and width are strictly smaller.
Given a 2D grid with roads (0) and buildings (1), multiple taxi stand locations, and a passenger location (all on roads), find the shortest path from the nearest taxi stand to the passenger. Movement is allowed up, down, left, and right. Return the actual path as a list of coordinates, or an empty list if no path exists.
Complete the Projects (Hard Version)
Burst Balloons variation (Uber OA 2022).
CS fundamentals
Showing 15 of 30 reported in this area
What is the bias-variance tradeoff?
What is thrashing in operating systems?
Explain ensemble learning and its advantages.
How does the operating system handle page faults?
Explain threads and multithreading concepts in detail.
Explain decision trees, random forests, and gradient boosting.
Write code to implement semaphores for process synchronization.
Explain concepts related to Threads and Object-Oriented Programming
Explain gradient descent and how it is used in machine learning models.
Which is better for distributed systems: normalization or denormalization?
How do you design an experiment and select appropriate metrics for A/B testing?
What are design patterns and why are they used? Explain any two design patterns.
What challenges arise when conducting A/B tests at large scale and how would you address them?
Explain the working and implementation of Priority Queues, including heapify and deheapify operations, and compare Binary Heap, Fibonacci Heap, and Pairing Heap.
Design and implement an object-oriented data structure to manage restaurant dishes with names, ingredients, and prices, supporting add, print, billing with GST, and ingredient-based filtering.
System design
Showing 8 of 13 reported in this area
Design a grocery shop system using object-oriented programming
Given a case study, propose a suitable machine learning approach.
Design a system to track arrival and departure of passengers at an airport and calculate the duration of time each passenger stays
Design a leaderboard system supporting addUser(name, email), updateScore(user, value), getRank(user), and getFirstK(K) with tie-breaking by insertion order.
Design a Meeting Room Booking System using Object-Oriented Programming that supports adding rooms, scheduling meetings with start time and duration, and canceling meetings
Design a data structure that supports operations like insertion and updates efficiently, and discuss implementations using arrays, linked lists, BSTs, and Priority Queues.
Design an application to control multiple devices (e.g., Fan, TV) with common commands like ON/OFF and device-specific commands. Implement the full code using appropriate OOP principles.
Design MS Excel.
Behavioural
Showing 3 of 12 reported in this area
As a team leader, how would you resolve a conflict when teammates propose different design patterns for the same task?
What do you do when you can't find the solution to a problem in a project context?
Tell me about a time when you failed and what you learned from it
asked oncePractice this →
Showing 60 of 109 questions. Ranked by how often the same question came back across reports.
Practise a Uber-style interview
A spoken interview built from these questions, scored when you finish; the report is yours.
Start practisingCommon questions
What questions does Uber ask?
Candidate interview reports most often cover DSA (57%) and CS fundamentals (23%).
How many rounds does Uber interview have?
Candidate interview reports show an average of 3.3 rounds per experience, with a typical sequence of Online test → Technical → System design → HR. Individual interview paths can vary.
Is the Uber interview hard?
Among questions with a reported difficulty, the mix is easy 16%, medium 61%, hard 23%.