Intel Corporation interview question

how to choose a function to a hash map