Design Data Structures
Uber's coding rounds have a design-a-data-structure flavor that the loop leans on hard, and it usually shows up as a "machine-coding" exercise. The interviewer hands you a small interface, a class with two or three methods, and asks you to make every method hit a complexity target while the surrounding code stays clean enough to extend. The grade is not just "does it return the right answer." It is whether your structures hit the bound you committed to. They also check that the class is organized so the follow-up is a small change, and that your code survives the edge cases without crashing or returning the wrong thing.
These problems feel different from the array and graph questions because there is no clever traversal to find. The work is in the design itself. You are choosing a combination of building blocks, usually a hash map plus one more structure, so that each operation the interface promises lands in the time bound you committed to. Once you see which two structures fit together, the code is short. Getting there, and packaging it as a tidy class, is the part Uber is reading.
- 2 problems, worked step by step
- about 26 min
Premium lessonUber interview guide
These took digging.
What candidates walked out with, from 20,000+ reports, forum threads behind logins and write-ups in Chinese. Then solved step by step.
100 companies. Checked every month.
Unlock all 100 companies$49 a year · less than $1 a week · 30-day money-back guarantee
Uber interview guideKnow what Uber asks before you walk in.
16 coding · 3 system design · 21 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.