Low-Level Design at Uber shows up as a machine coding round as often as a pure design discussion — interviewers expect a fully executable implementation, not pseudocode, built from a deliberately underspecified prompt.
Problem 1Design a Simplified Unix-Like File System CLI
Design and implement a simplified Unix-like file system supporting mkdir, cd, ls, and pwd commands.
- Support nested directory creation and track the current working directory.
- ls should list the contents of the current directory; pwd should print its absolute path.
- Handle invalid paths gracefully, and be ready to reach a runnable end-to-end state quickly before polishing edge cases.
More LLD prompts Uber has asked recently
The class design, entity list, design-pattern reasoning and follow-up discussion for these — plus the full worked solution above — are part of the Placement-Ready PYQ Kit.
1 more LLD prompts with full class designs in the full Placement-Ready PYQ Kit

