Back to Questions

Design a File System (Hash Map and Set)

27.9K viewsAsked at Amazon
Medium

Question Explain

Design a simplified file system that supports two operations: `addPath` (to create a directory/file path) and `get` (to retrieve a value associated with the path). Use a Hash Map to store paths and values.

Start Trying This Question Simulation

Practice answering orally or with text to get instant AI feedback.

Practice with This Question
Design a File System (Hash Map and Set) - Interview Question