Design In-Memory File System
CodingPhone, OnsiteSoftware Engineer, Software Engineer InternReported Nov, 2026Medium Frequency
Company question banks are included with the Insider plan.
Design a data structure that simulates an in-memory file system.
Implement the FileSystem class:
FileSystem() Initializes the object.List<String> ls(String path) If path is a file path,...