Uber SE 2 | Selected

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2024-04-12Added By Anonymous
Source: Link

Company: Uber

Role: software engineer ii

Interview Stage: Onsite

Original Post Content:


Experience: 2.5+ years, sde2 in a product based company


I applied through Employee Referral and received an online assessment link 3-4 days later. Online assessment consisted of 4 DSA based questions. I solved 1st and 2nd completely, 3rd around 15 out of 20 test cases. Did not get much time for 4th question, wrote a brute force and got 6 out of 20 test cases passed. Time was 70 minutes. Difficulty level was in increasing order. Not sure about the exact cutoff but I received a call from recruiter for a DSA based screening round.


Screening Round: DSA based round. Medium to Hard Difficulty. Something similar to this question. I started communicating my approach from brute force and moved to a nlogn approach using priority queue. Wrote the working code for the same. I got the callback from recruiter 3-4 days later that I have cleared the screening round and my interview loop (4 rounds) will be scheduled. Overall, I think that my iterative refinement of the solution and clear communication of the approach, transitioning from brute force to optimization, was crucial in clearing this round.


R1: DSA based round. Medium to Hard Difficulty. Similar to this question. Initially, I wasn’t able to understand the problem clearly but with the help of the interviewer, I was able to gather a few hints and arrive at a brute force solution. I wrote the working code for the same quickly. However, I wasn’t able to optimise the solution, discussed about several possible data structures with the interviewer but couldn’t optimise. According to me, the round went bad and I was not hoping of an accept at the end of the loop but I continued the process with a positive outlook.


R2: Was informed that it will be LLD (Domain Specialisation) based round. However, turned out to be DSA based only. Hard Difficulty. Similar to this question. I discussed couple of graph based approaches with the interviewer. He seemed satisfied with the overall approach but had a few doubts. I went ahead and coded the working solution in the first go. We talked about a couple of things in the code, edge cases and the time complexity. Overall round went pretty well. Focus Areas: Approach communication, clean working code, handling edge case, understanding of time and space complexity.


R3: System Design Round. I was asked to build a single central auth system that grants access to multiple portals. As an extension, the interviewer asked me to introduce an OTP mechanism as well in the system. Apart from 1 or 2 issues, I was able to build a good enough system diagram. Focus Areas: Overall system diagram, scalability, Choice of DBs, DB schema, APIs & their schema, handling failure scenarios, load balancing. I didn’t think about the failure scenarios at first and at the end I could just discuss it on a high level because of time constraint. Overall, the round went good, not perfect because I did miss a few things. Interviewer was particularly happy with the system diagram, choice of DBs, DB schema.


R4: Hiring Manager Round. It consisted of 3-4 situation based behaviour questions. Like handling conflict with a peer, delivering a project within a short deadline etc. For every question, I approached the answer with a STAR method, explained my projects and actions in detail. Interviewer also asked a few technical questions about projects in between. Overall, the round went pretty well. Communicating clearly was the key.


Around 2+ weeks later, I received a call from the recruiter that they didn’t get complete clarity on the DSA round and would like to take an additional round if I am open to it. The additional round took around 2-3 weeks time to get scheduled.


Additional Round: DSA based round. Medium Difficulty. Interviewer explained the problem and initially I approached it as a graph based problem, gave a brute force Dijkstra based approach. The interviewer asked to optimise. I asked a few clarification questions and then I understood that we can instead treat it as a tree. The problem was reduced to something similar to max path sum in a tree but the tree was n-ary. I coded a clean solution, had to fix 1 or 2 things to produce the correct output. As an extension, the interviewer asked to compute the distance between 2 nodes in that tree. I quickly coded a clean bfs based solution and it was working correctly in the first attempt. Interviewer seemed satisfied with both the solutions.


Around a week later, I received a call from the recruiter that I have cleared all the rounds and I received the offer letter on the same day.


I hope this interview experience would help many. Feel free to use the comment section for any questions. Keep learning and believing :)

Final tip: For DSA rounds, I would strongly advice to practice the medium and hard level questions previously asked by Uber.

Comments