Xandr interview question

Difference between hash maps and Arrays