think-cell interview question

Implement the method 'asign' for a map-based data structure