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.
Requirements to clarify first
- Should
mkdircreate intermediate directories (mkdir -pbehaviour) or fail when the parent does not exist? - Must
cdandmkdiraccept both absolute paths (/a/b) and relative paths with.and.., or only single directory names? - Do we need files (with content) at all in this version, or is a directory-only tree enough for the machine-coding scope?
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

