Synopsys interview question

Implement a hashtable. Find duplicate numbers in an array,