Canva interview question

Implement an in memory kv storage.