Uber interview experience Real time questions & tips from candidates to crack your interview

SDE - Intern

Uber
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
When Uber came to our campus, I started preparing for Low-Level Design as it was new to me. I practiced creating classes, solved previously asked questions available online, and revised concepts of DSA and OOPs. Consistency in DSA practice is crucial — I made sure to code daily to strengthen my problem-solving skills.
Application story
This was an on-campus opportunity for a 6-month internship with a performance-based PPO offer. The CGPA eligibility criterion was 7 and above. The online assessment consisted of 2 DSA questions, and 9 students were shortlisted for interviews based on their CGPA, OA performance, and prior internship experience. The interview process included two rounds — the first focused on DSA, and the second on Low-Level Design (LLD).
Why selected/rejected for the role?
I was initially waitlisted and eventually rejected. I believe the main reason was my weakness in DSA. Although I was able to explain the correct approach and logic, my code didn’t run successfully. However, the interviewer appreciated my problem-solving approach and understanding of the concept.
Preparation
Duration: 6 months
Topics: DSA, OOPS, Low Level Design, Dynamic Programming
Tip
Tip

Tip 1: Be consistent with your DSA practice.
Tip 2: Study and practice Low-Level Design concepts.
Tip 3: Be thorough with your projects and understand them in detail.

Application process
Where: Campus
Eligibility: Above 7 CGPA, (Stipend: 1.88L per month)
Resume Tip
Resume tip

Tip 1: You should know everything you include in your resume.
Tip 2: Be thorough with your projects and their functionalities.

Interview rounds

01
Round
Hard
Online Coding Test
Duration60 minutes
Interview date17 Jul 2025
Coding problem2

There were 2 DSA questions.

1. Maximum XOR With an Element From Array

Hard
50m average time
50% success
0/120
Asked in companies
AppleUberTata1mg

You are given an array/list ‘ARR’ consisting of ‘N’ non-negative integers. You are also given a list ‘QUERIES’ consisting of ‘M’ queries, where the ‘i-th’ query is a list/array of two non-negative integers ‘Xi’, ‘Ai’, i.e ‘QUERIES[i]’ = [‘Xi’, ‘Ai’].

The answer to the ith query, i.e ‘QUERIES[i]’ is the maximum bitwise xor value of ‘Xi’ with any integer less than or equal to ‘Ai’ in ‘ARR’.

You should return an array/list consisting of ‘N’ integers where the ‘i-th’ integer is the answer of ‘QUERIES[i]’.

Note:

1. If all integers are greater than ‘Ai’ in array/list ‘ARR’  then the answer to this ith query will be -1.
Problem approach

It contains an array (‘links’) to store links to child nodes (0 and 1). It also contains methods for inserting numbers into the Trie and finding the maximum XOR value achievable with a given number.
Initialise a vector to store the result of queries. Sort the array of numbers and queries based on their end points.
We sort the queries based on their end point so that we insert numbers into the Trie only up to the point where it is necessary for answering the current query.
Iterate through the array of numbers and queries and for each query, insert numbers into the Tree until the current query’s endpoint then find the maximum XOR value for the query range using the Trie.

Try solving now

2. Rod cutting problem

Moderate
40m average time
75% success
0/80
Asked in companies
Dream11UberGoldman Sachs

Given a rod of length ‘N’ units. The rod can be cut into different sizes and each size has a cost associated with it. Determine the maximum cost obtained by cutting the rod and selling its pieces.

Note:
1. The sizes will range from 1 to ‘N’ and will be integers.

2. The sum of the pieces cut should be equal to ‘N’.

3. Consider 1-based indexing.
Problem approach

Applied recursion then it was giving TLE, moved to DP and applied memorization.

Try solving now
02
Round
Medium
Face to Face
Duration60 minutes
Interview date21 Jul 2025
Coding problem1

The interview was based on DSA and resume, not much was asked from resume.

1. Divisible Set

Moderate
0/80
Asked in companies
UberNagarro SoftwareSoft Suave

You are given an array of distinct numbers ‘arr’ of size 'n'.


Your task is to return the largest subset of numbers from ‘arr’, such that any pair of numbers ‘a’ and ‘b’ from the subset satisfies the following: a % b == 0 or b % a == 0.


A subset is nothing but any possible combination of the original array


Example:
Input: ‘arr’ = [1, 16, 7, 8, 4]

Output: [1, 4, 8, 16].

Explanation: In the set {1, 4, 8, 16}, you can take any pair from the set, and either one of the elements from the pair will divide the other.

There are other possible sets, but this is the largest one.
Problem approach

First of all sort the array,
Then find the longest divisible subsequence of the array.
In order to find the longest divisible subsequence, we will follow the algorithm used to find the longest increasing subsequence discussed in the
The distinguishing factor between longest increasing subsequence and longest divisible subsequence is that we used to insert the element if arr[i] > arr[prev] but here we will insert the element when arr[i] % arr[prev] == 0.
At last return the hash array as the answer.

Try solving now
03
Round
Medium
Face to Face
Duration60 minutes
Interview date21 Jul 2025
Coding problem1

I was told to make low level design of Uber query resolution system. Had a good discussion with the interviewer about the features and classed I would be making before coding.

1. System Design

Make a Low level design of Uber query resolution system.
There would be agents who would be assigned queries.
The queries are like tickets that can have their id, name, description and type.

Problem approach

Tip 1: Have a good and clear discussion about the thing you are building.
Tip 2: Always asks questions.
Tip 3: Try to tell about oops principles you are using side by side.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by Uber
1848 views
1 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Uber
4652 views
2 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 5 problems
Interviewed by Uber
943 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 5 problems
Interviewed by Uber
1030 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15480 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15338 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10141 views
2 comments
0 upvotes