Reported interview periodJul 2025–May 2026
Implement a Quota-Aware Cloud File Store
Process a sequence of string commands against a flat cloud-storage namespace. Every command returns one result string.
Practice focusOperations - Add a file with a unique name and integer size; copy an existing file to a free name; query a file's size. - Find files matching both a prefix and suffix, sorted by size descending and then name ascending. - Add quota-limited users and add user-owned files only when capacity permits. - Reduce a user's capacity, evicting that user's largest files first and using name order to break ties until usage fits. - Compress an owned file by renaming it with a .COMPRESSED suffix and halving its even size.…