Object-Oriented Programming · Harvey · Medium
Problem Design a "Vault" that behaves like a minimal filesystem—supporting files identified by paths—but without explicit directories. The vault must allow writing, reading, and deleting file contents, as well as taking point-in-time snapshots. Later, you'll be asked to verify whether two vault instances hold identical data. Required APIs Implement the following operations: put(path, content) Stores content at the given path (e.g., "/a/b/c.txt"). If a file already exists at…