Synechron interview question

HashSet Vs HashMap