Frage im Vorstellungsgespräch bei Apple

How would you handle the data store for this API design problem?