Back to problems

Define a File Store with User Quotas and Compression

Object-Oriented Programming · Airbnb · Hard

Design a file-storage service with four capability areas: uploading/reading/copying files, searching file names by both prefix and suffix, provisioning users with individual storage limits, and compressing or decompressing files. Define a uniform API and the state transitions and invariants required to support all of these capabilities together. Where the prompt leaves behavior unspecified, decide it explicitly instead of assuming any particular naming scheme, compression…

Checking your access…