CodeSignal interview question

Implement a datastore with basic operations