Fiverr Inc. interview question

Array vs HashTable