Pergunta de entrevista da empresa Musikaar

How does HashMap and HashSet works?