Uber | SDE 2 | Backend | Interview Exp
Company: Uber
Role: SDE 2
Interview Stage: Onsite
Location: Bangalore
Year: unknown
Original Post Content:
Preliminary Online Coding Round - Codesignal online coding test - 4 questions, 2 easy, 2 medium-hard. I was able to complete all 4.
5 more rounds were scheduled:
Round 1 - Preliminary Phone screen (DSA): A string manipulation question, no complex DSA.
Round 2 - Medium DSA: A 2-D DP question I forgot to note down but it was asked already in Leetcode's list of questions in the past 3 months. I had done all the questions Uber asked on Leetcode in the last 6 months so it wasn't too difficult.
Round 3 - LLD: Design a data structure like a hashmap which has get, set, and delete functions for key, values like a hashmap. Additionally, it has a getRandom function on it which returns a random key,value pair from the hashmap. I kept the hashmap's keys in an array and generated a random number less than the length of the array and returned the key at that index and the corresponding value. An extension was also to have concurrent operations on this data structure to be used by multiple threads at the same time.
Round 4 - HLD: Stock notification system - we have to design a system that can ingest data from exchanges and have notifications pushed to users when the stock price fluctuates by 5% since the last hour, minute, week, etc. Focus on where to store the historic stock prices, how to keep comparing the current price with the last hour, minute, week etc.'s prices, how to shard when the stock ticks are unequally distributed among stocks (Apple is traded much more than a smaller company), how to make sure we don't send double notifications for the same alert.
Round 5 - Manager/Values: Explain about a major project you did/led, explain your team structure at your previous companies, when you went out of your way to deliver something, when you mentored someone, learned a new tech for delivering something, how do you deliver a project end to end, why Uber, why did you leave the previous companies.
Apart from the manager round, the other rounds were chaotic where people joined late, no one turned on their camera, and only went through the rounds in a rush. Overall, it wasn't very welcoming.
Offer details - https://leetcode.com/discuss/post/7192966/uber-sde-2-bangalore-reject-by-anonymous-hsdo/