Oracle interview question

Technical interview - hashmap coding problem