Adobe logoAdobe
CodingMembers

Build an In-Memory File System with mkdir, ls and delete

Members only

An object-design coding question where you simulate a handful of Linux file system commands over an in-memory structure, in Java. Most of the work is in robust path handling and in getting deletion and listing semantics right on missing or special paths. Follow-ups extend the shell with more commands.

SWE
medium
filesystem
tree
hashmap
java
oop
simulation
string-processing
Frequency
Single report
Last asked
—
Stage
onsite-coding

Members get

  • Full problem statement
  • Known variants to clarify
  • Step-by-step approach
  • Full solution with code
  • 5 common pitfalls
  • 6 talking points
  • 6 follow-up questions with answer directions
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...