NewThe Learning module is now liveSee what's new
avatar
ryan8Oct 27, 2026

Uber phone screen, parking lot design

Interview Experiences
uber

Uber phone screen, parking lot design

45 min with Uber last week, no LeetCode, just a parking lot design.

First stretch was high level: spots, vehicle types, tickets, and we skipped payment and the gate hardware entirely. Then he wanted fully runnable code. He mostly poked at why I used that structure for finding a free spot, and how I'd carved up the classes, which I rambled through a bit. I wrote a few test cases myself at the end and he didn't seem to mind tbh.

Recruiter said a few days, so I'm pending.

24573.9k

Replies (4)

avatar
User-atxybOct 27, 2026

good luck, hope you hear back soon

127
avatar
User-a5u3jOct 27, 2026

I had something similar elsewhere and ended up with a min heap per floor for free spots. what did you use?

54
avatar
ryan8Oct 27, 2026

a heap per vehicle type, with lazy removal when a spot got taken. probably overkill for a phone screen tbh

106
avatar
priyashah94Oct 27, 2026

Did you have to actually run the code or just write it?

12
avatar
ryan8Oct 27, 2026

had to run it, small main with a few test cases I wrote

55
avatar
arjunpatel1997Oct 27, 2026

was it all LLD or did he ask any scaling stuff at the end

11
avatar
ryan8Oct 27, 2026

no scaling, stayed on the code and classes

105
No more replies