In-Memory File System

Asked at Snowflake · Coding Questions · Difficulty: Hard · Last asked Dec 27, 2025

Design an in-memory file system. It stores directories and files under a single root `/` and supports creating directories, listing a directory, appending text to files and reading files back.

Loading the problem…