Sprinklr Interview Question

Implement a hash map and some follow ups