Pregunta de entrevista de Amdocs

hashmap put method ,coding question