Microsoft Interview Question

Implement to insert (put) function for a hashmap