YourAlly

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

  1. Detect Double Assign Locked
  2. Serialize Concurrent Trip Updates Locked
  3. Validate Trip State Transitions Locked

Sign up free to practice all 4

Related pages

More Uber Senior Principal rounds

Uber coding at other levels

Other companies at this level

Company guide

Uber interview guide in Academy