Problem 588 · Hard

Design In-Memory File System

Implement an in-memory file system that supports directory creation, file appends, and sorted listings. The visual shows a directory tree where listing a folder reveals sorted names and reading a file returns its contents.

Open the interactive visualisation