Content-Deduplicating File System

Implement a simplified file system with content deduplication.

The file system must expose the following APIs:

writefile(path: str, data: str) -> None
readfile(path: str) -> str
delete...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: