Now practice all your interviews before giving the real one
( Uber interview questions )
15 questions candidates report from Uber interviews, grouped by topic, with a short note on how to answer each kind. Then say your answers out loud in a practice interview.
5 minutes, no CV needed. A practice round, not Uber's own.
Our bank holds 138 coding questions that candidates report from Uber interviews. The topics that come up most: graphs (22), arrays & hashing (18), math & bits (14) and dynamic programming, 1-D (12). Of the 138 coding questions, 30 are easy, 90 medium and 18 hard.
Our data covers coding questions for Uber; it says nothing about their other rounds, so we don't guess. These are practice questions based on what candidates report on public, community-kept lists, each written in our own words. RoundAlpha is not linked to Uber.
( Questions )
Longest Close GroupMedium
For an integer array nums and a nonnegative integer limit, return the length of the longest nonempty contiguous segment whose values have pairwise absolute differences no greater than limit.
Best Day to SellEasy
prices[i] is the price of one share on day i. You may buy one share on one day and sell it on a later day.
Count IslandsMedium
You are given a map of the sea as a grid of "1"s and "0"s: "1" is land and "0" is water. An island is a group of land cells joined up, down, left or right.
Find Quotients from FactsMedium
Each entry in equations contains two variable-name strings. The number at the matching position in values is the quotient obtained by dividing the first variable by the second.
Fewest Reversals for Each StartHard
An integer n gives the number of vertices, labeled 0 through n - 1, and each pair [u,v] in edges is a one-way connection from u to v.
Kth Smallest in a Search TreeMedium
root is the top node of a search tree: a binary tree where, at every node, every value in the left subtree is smaller than the node's own value and every value in the right subtree is bigger.
Squares in OrderEasy
Given a list of integers nums sorted from smallest to largest, return a list of the square of each number, also sorted from smallest to largest.
Word in a GridMedium
You are given a board of letters and a word. Return true if you can spell the word on the board, and false if you can't.
Phone Keypad WordsMedium
On an old phone keypad, each of the keys 2 to 9 carries a few letters: - 2: a, b, c - 3: d, e, f - 4: g, h, i - 5: j, k, l - 6: m, n, o - 7: p, q, r, s - 8: t, u, v - 9: w, x, y, z You are given a string of those digits.
Recently Used CacheMedium
Build a cache that holds at most capacity keys and, once it is full, makes room by throwing out the key that was used longest ago.
Merge K Sorted ListsHard
lists holds the first nodes of k linked lists. Each node holds a number, val, and a link to the node after it, next; the last node's next is null.
Word HuntHard
You are given a board of letters and a list of words.
Product of the OthersMedium
Given a list of integers nums, return a list answer where answer[i] is the product of every number in nums except nums[i].
Two SumEasy
Given an array of integers nums and an integer target, return the positions of the two numbers that add up to target.
Decoding Valid Numeral StringsEasy
Given a Roman numeral string s, return the integer value it represents. The seven symbols have fixed values: I is 1, V is 5, X is 10, L is 50, C is 100, D is 500, and M is 1000.
Want to write the code too? The Uber list on our coding practice page runs your answer against hidden tests, in six languages.
Questions
Our bank holds 138 coding questions that candidates report from Uber interviews. The topics that come up most: graphs (22), arrays & hashing (18), math & bits (14) and dynamic programming, 1-D (12). This page shows 15 of them, grouped by topic.
Of the 138 coding questions, 30 are easy, 90 medium and 18 hard. The level you meet depends on the role and your experience, so practise easy and medium ones until you can explain them out loud, then add hard ones.
They are practice questions based on what candidates report from Uber interviews on public, community-kept lists. Each one is written in our own words. RoundAlpha is not linked to Uber, and no list can promise what a given interviewer will ask.
Yes. A new account you sign up for yourself gets one short free practice interview. Name Uber as the company and the interviewer leans its questions toward that company. You can choose "No CV this time", so no CV is needed. You talk out loud and get a scored report at the end.
Read next
Ready when you are
A short practice interview with Uber named as the company, then a scored report on every answer.
5 minutes, no CV needed. A practice round, not Uber's own.