Uber On-Site Interview
Company: Uber
Interview Stage: Onsite
Original Post Content:
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:
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.
1Given 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.
2Sample input: 5, [[0,1], [1,3], [0,2], [1,4], [3,5]]
3Output: 3
4Explination:
5 person 0 can go alone and with one other person
6 person 1 can go if there's atleast 1 other person and at most 3 other people
7 person 2 can go alone and at most 2 other people
8 person 3 can go if there's atleast 1 other person and at most 4 other people
9 person 4 can go if there's atleast 3 other person and at most 5 other people
10So 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.