Object-Oriented Programming · Airbnb · Medium
You are extending a simplified cloud storage service that lives entirely in memory. Every file name is unique across the whole system, and each file records three things: its name, its size (a positive integer), and created_by, the ID of the user who owns it. The system has ordinary users plus a special admin user, who is also able to create files and to back them up and restore them. You may take it as given that the earlier levels already provide file management, user…