Uber Senior Principal coding interview questions
These are the 4 coding questions YourAlly has tagged for Uber at Senior Principal. Senior Principal is the common India title for this level. YourAlly treats it as Senior staff, the same level as Google L7, Meta E7 and Amazon L8.
A coding round at a large tech company usually runs 45 to 60 minutes with one or two problems. You write code that runs, test it on your own examples and state its time and space cost. At this level coding is often a smaller part of the loop, but the bar for clarity and speed stays high.
Practice a mock Uber Senior Principal coding loopPractice Uber coding questions
Nearby Drivers in a GridFree to read
Given driver positions on a 2D grid and a rider at (x,y), return up to k nearest drivers by Euclidean distance. Ties broken by driver_id ascending.
Input: drivers = [[id,x,y]...], rider = [x,y], k Output: list of driver ids
3 more coding questions
- Detect Double Assign Locked
- Serialize Concurrent Trip Updates Locked
- Validate Trip State Transitions Locked
Related pages
More Uber Senior Principal rounds
- Behavioral 4 questions
Uber coding at other levels
Other companies at this level
- Adobe Senior Principal 4 questions
- Amazon Senior Principal 6 questions
- Apple Senior Principal 7 questions
- Cisco Senior Principal 3 questions
- Google Senior Principal 14 questions
- IBM Senior Principal 3 questions