ServiceTitan interview question

Implement a multi-value dictionary class.