Pergunta de entrevista da empresa Cognizant

difference between HashMap and HashSet