Apple interview question

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