Optym interview question

to implement a hash data structure