Design an In-Memory File System with Shell Commands

Implement an in-memory Unix-like file system with directories, regular files, and a current working directory.

Initially, the file system contains only the root directory /, which is also the curre...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: