Infosys interview question

Internal Working of hashMap and Hashset