Pergunta de entrevista da empresa Apple

Design a hashmap and how many cycles would be required for each function.