Uber | SDE 2 | Bangalore | Reject

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2025-03-14Added By Anonymous
Source: Link

Company: Uber

Role: SDE 2

Interview Stage: Onsite

Location: Bangalore


Original Post Content:


Current YOE: 4.5

Phone screen: Bus Routes


Onsite:


DSA: Game theory question: We are given an integer array and we have two players Alice and Bob and both are playing a game where they can pick either first or last integer from the array. Each player plays optimally. Return the maximum score Alice can score given she plays first. I believe there is a similar question on Leetcode but with k moves allowed that's solved using prefix sum but I solved this using dp in the interview but messed up the output by computing Math.max instead of Math.min.


LLD: I had to build an AsyncLibrary which has a bunch of tasks and some of these tasks had dependencies. Had to output the order in which to execute the Library ( Can be done using Topological sort )


HLD: Design stock broker alert system:

User can subscribe for an alert of a particular stock. Say when a stock reaches x% of its original value, they should be notified. Stock exchange keeps giving us the update on the prices for each stock.


HM : Standard questions

Recruiter gave the feedback that it was a close call. Asked to reapply after 5-6 months.

Comments