Fiserv interview question

Q: difference between a hash map and array