XYZ Tech interview question

Hash map