Design an In-Memory File System API

Problem: Implement an In-Memory File System API

Implement an in-memory file system that supports directories and files (file content is a string). The file system starts at root directory /.

##...

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: