Optym Interview Question

to implement a hash data structure