Sprinklr interview question

Implement a hash map and some follow ups