Pergunta de entrevista da empresa Bloomberg

How would you implement a hash function for a particular data structure.