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

SDE - 1

Uber
upvote
share-icon
4 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data Structures, OOPS, Operating System, Web Development, DBMS, Basics of System Design
Tip
Tip

Tip 1 : Consistency is the key. Keep practicing on consistent basis.
Tip 2 : Try thinking of an approach to a problem before looking at the solution. Avoid looking at the solution as much as possible.
Tip 3 : Focus on Computer Fundamentals like OS, DBMS, CN too as they play a crucial role in your interview.

Application process
Where: Campus
Eligibility: 7 CGPA
Resume Tip
Resume tip

Tip 1 : Don't write fake projects/skills in your resume. There will be times when you will be asked about things you have written in your resume.
Tip 2 : Make sure your resume is full of important keywords/sections.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 Minutes
Interview date26 Jul 2022
Coding problem2

1. Minimum Fountains

Easy
10m average time
80% success
0/40
Asked in companies
BNY MellonUberAdobe

There is a one-dimensional garden of length 'N'. On each of the positions from 0 to 'N', there is a fountain, and this fountain’s water can reach up to a certain range as explained further. In other words, there are 'N' + 1 fountains located at positions 0, 1, 2, 3, …. 'N' which can be activated in the garden.

You are given an integer 'N' and an array/list 'ARR' of length 'N' + 1, where each index of the array denotes the coverage limit of a particular fountain.

A fountain at index 'i' can water the area ranging from the position 'i' - 'ARR'['i'] to 'i' + 'ARR'['i'].

Your task is to find the minimum number of fountains that have to be activated such that the whole garden from position 0 to 'N' has access to the water from at least some fountain.

Note:

1. 0-based indexing is used in the array.
2. We only care about the garden from 0 to 'N' only. So if i - 'ARR'['i'] < 0 or i + 'ARR'['i'] > 'N', you may ignore the exceeding area.
3. If some fountain covers the garden from position 'A' to position 'B', it means that the water from this fountain will spread to the whole line segment with endpoints 'A' and 'B'.
Try solving now

2. Most Frequent Prefix

Moderate
0/80
Asked in companies
IntuitAdobeUber

You are given a string ‘STR’. Your task is to return a prefix among all the prefixes of ‘STR’ that occurs the maximum number of times as a substring in ‘STR’. In case of a tie, return the longest prefix.

For example:
You are given ‘STR’ = “ababcd”. Then our answer will be “ab”. The prefixes “a” and “ab” occur the maximum number of times, i.e., 2. As the prefix “ab” is longer than “a” so, our answer will be “ab”.
Try solving now
02
Round
Medium
Face to Face
Duration45 minutes
Interview date2 Aug 2022
Coding problem1

1. Number of squareful arrays

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

You are given an Array/List Arr of non-negative integers. Your task is to return the number of Squareful permutations of the array.

An array is called Squareful if the sum of every pair of adjacent elements is a perfect square.

Example

ARR[1,3,6] is a Squareful array as 1+3=4 i.e. 2^2 , 3+6=9 i.e. 3^2.

Two permutations ARR1 and ARR2, are different from each other if there exit an index i such that ARR1[i] != ARR2[i].

Example:

[1,6,3] and [6,1,3] are different permutations.
Try solving now
03
Round
Medium
Face to Face
Duration45 Minutes
Interview date2 Aug 2022
Coding problem1

1. Length of the Largest Subarray

Moderate
25m average time
65% success
0/80
Asked in companies
AppleUberKempston

You are given ‘N’ distinct integers in the form of an array ‘ARR’. You need to print the length of the longest subarray in which the numbers are present in a continuous sequence.

Note: All elements are distinct from the array.

For example:
Let ‘ARR’ be: [1, 2, 4]
Then the largest subarray with continuous sequence will be: [1, 2]
So the length will be 2.
Try solving now
04
Round
Easy
Face to Face
Duration30 minutes
Interview date2 Aug 2022
Coding problem1

1. OS Questions

I was asked about multithreading, multiprocessing, process scheduling, disk scheduling. All these topics were discussed in depth.
Apart from this there was also in depth discussion on the projects that I had done and the ones mentioned in my resume along with my internships.

Here's your problem of the day

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

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
1 rounds | 3 problems
Interviewed by Uber
0 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by Uber
1367 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by Uber
992 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Uber
5237 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
115097 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58238 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35147 views
7 comments
0 upvotes