{"blocks": [{"key": "9cb7f76c", "text": "Question", "type": "header-two", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}, {"key": "6db84219", "text": "Design and implement an in-memory cloud storage system that maps files to their metadata and supports:", "type": "unstyled", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}, {"key": "3cfbffde", "text": "add_file(name, size) / get_file_size(name) / delete_file(name)", "type": "unordered-list-item", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}, {"key": "afa65f2d", "text": "get_n_largest(prefix, n) to return the n largest files with a given name prefix", "type": "unordered-list-item", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}, {"key": "65f6d7d5", "text": "multi-user support with add_user(user_id, capacity) and add_file_by(user_id, name, size) enforcing per-user capacity limits", "type": "unordered-list-item", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}, {"key": "d28ce1a0", "text": "merge_user(user_id1, user_id2) combining users and their files", "type": "unordered-list-item", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}, {"key": "39ff6183", "text": "backup_user(user_id) and restore_user(user_id) for versioned backups that do not affect other users’ files or capacities", "type": "unordered-list-item", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}], "entityMap": {}}