Apple Interview Question

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