Uber On-Site Interview

Anonymous User
2010
Oct 21, 2022

Hey everyone,

I just had my onsite interview at Uber and thought I should share my experience as I've found it super helpful reading other discussions and thought my experience might help others prepare.

The onsite was 4 different rounds:

  1. Algorithmic coding
  2. Specialization round
  3. Leadership round
  4. System Design

Algorithmic Coding Round:
https://leetcode.com/problems/longest-repeating-character-replacement/

Specialization Round (I think this depends on the type of role you apply to, mine was backend focused so I had another algorithmic type questions.

Given an array of people, each person will only go somewhere if there are atleast x other people and at most y other people. Figure out the max number of people that can go in at one time.
Sample input: 5, [[0,1], [1,3], [0,2], [1,4], [3,5]]
Output: 3
Explination:
  person 0 can go alone and with one other person
  person 1 can go if there's atleast 1 other person and at most 3 other people
  person 2 can go alone and at most 2 other people
  person 3 can go if there's atleast 1 other person and at most 4 other people
  person 4 can go if there's atleast 3 other person and at most 5 other people
So the group can be person 1, person 2, and person 3. Can't add more people to this because person 2 won't go with more than 2 people.

Leadership Round:
Just asked about how you handle certain situations. Disagreement with manager, mentorship, kinda work you've done in the past, etc...

System Design Round:
Not really whiteboard, basically just talk about how to design something and what decisions you'd make. Mine was a chat feature.

Comments (3)