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

SDE - Intern

Uber
upvote
share-icon
1 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Journey
My journey started with building a strong foundation in programming and problem-solving by studying Data Structures and Algorithms. Alongside that, I explored web development by learning HTML, CSS, JavaScript, and later moved to React to build interactive user interfaces. I focused on understanding concepts deeply and applying them through real-world projects instead of just following tutorials. Over time, consistent practice, debugging, and improving my coding approach helped me gain confidence and perform better in assessments and interviews.
Application story
I applied for the SDE Intern role through the official Uber careers portal after coming across the opportunity online. The application process was straightforward, where I submitted my resume and basic details. After a shortlisting phase, I received an online assessment link. The overall process was smooth and well-structured, giving me a clear understanding of how the evaluation pipeline works before moving ahead to further stages.
Why selected/rejected for the role?
I was rejected for this role mainly because I couldn’t fully complete one of the problems in the online assessment within the given time. Although my approach was mostly correct, a few test cases were still failing, which affected my overall performance. This experience taught me the importance of strong problem-solving speed, better edge-case handling, and practicing under timed conditions.
Preparation
Duration: 8 months
Topics: Data Structures, Algorithms, C++, OOPS, C
Tip
Tip

Tip 1: Practice a wide range of DSA problems consistently, focusing on topics like arrays, strings, recursion, and dynamic programming.
Tip 2: Analyse every problem you solve, understand the optimal approach, and revisit mistakes to avoid repeating them.
Tip 3: Do timed practice regularly to improve speed and accuracy under real interview conditions.

Application process
Where: Company Website
Eligibility: No Backlogs, (Stipend: 1.25L per month)
Resume Tip
Resume tip

Tip 1: Keep your resume focused on strong projects and clearly mention your contribution, tech stack, and impact.
Tip 3: Maintain a clean, one-page format with clear sections and easy readability.

Interview rounds

01
Round
Easy
Online Coding Test
Duration90 minutes
Interview date6 Oct 2025
Coding problem3

The online assessment was conducted in the evening from 7:00 PM to 8:30 PM, which felt like a typical exam setting and required sustained focus after a full day. I attempted it in a quiet and distraction-free environment to maintain concentration. The test was time-bound and demanded strong problem-solving skills along with careful handling of edge cases. There was no direct interaction with an interviewer during this stage, as it was purely an online coding round.

1. Longest Substring Without Repeating Characters

Moderate
30m average time
65% success
0/80
Asked in companies
Natwest GroupWells FargoMorgan Stanley

Given a string input of length n, find the length of the longest substring without repeating characters i.e return a substring that does not have any repeating characters.

Substring is the continuous sub-part of the string formed by removing zero or more characters from both ends.

Problem approach

Step 1: Initially, I thought of generating all substrings and checking uniqueness using a set, but that leads to O(n³) complexity.
Step 2: Then I optimized using the sliding window technique with two pointers.
Step 3: Used a hash set/map to track characters and expanded the window until a duplicate appears.
Step 4: When a duplicate is found, shrink the window from the left until it becomes valid again.
Step 5: Keep updating the maximum length during traversal.

Try solving now

2. Maximum Sum Path Of A Binary Tree.

Hard
25m average time
75% success
0/120
Asked in companies
HikeSprinklrUber

You are given a binary tree having 'n' nodes. Each node of the tree has an integer value.


Your task is to find the maximum possible sum of a simple path between any two nodes (possibly the same) of the given tree.


A simple path is a path between any two nodes of a tree, such that no edge in the path is repeated twice. The sum of a simple path is defined as the summation of all node values in a path.

Problem approach

Step 1: Initially thought of checking all paths, but that is exponential.
Step 2: Used recursion with DFS to compute maximum gain from each node.
Step 3: For each node, calculate left and right subtree contributions (ignore negatives).
Step 4: Update global maximum as left + right + node value.
Step 5: Return max gain to parent as node + max(left, right).

Try solving now

3. Longest Common Subsequence

Moderate
39m average time
0/80
Asked in companies
SlicePayPalFreshworks

Given two strings, 'S' and 'T' with lengths 'M' and 'N', find the length of the 'Longest Common Subsequence'.

For a string 'str'(per se) of length K, the subsequences are the strings containing characters in the same relative order as they are present in 'str,' but not necessarily contiguous. Subsequences contain all the strings of length varying from 0 to K.

Example :
Subsequences of string "abc" are:  ""(empty string), a, b, c, ab, bc, ac, abc.
Problem approach

Step 1: Started with a recursive solution comparing characters, but it led to overlapping subproblems (exponential time).
Step 2: Introduced memoization to store results of subproblems.
Step 3: Converted to bottom-up DP using a 2D table.
Step 4: If characters match → dp[i][j] = 1 + dp[i-1][j-1]
Step 5: Else → dp[i][j] = max(dp[i-1][j], dp[i][j-1])
Step 6: Final answer stored in dp[n][m].

Try solving now

Here's your problem of the day

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

Skill covered: Programming

What does the SQL function NOW() return?

Choose another skill to practice
Similar interview experiences
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by Uber
1923 views
1 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Uber
4756 views
2 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 5 problems
Interviewed by Uber
990 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 5 problems
Interviewed by Uber
1126 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15731 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15671 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10289 views
2 comments
0 upvotes