Pergunta de entrevista da empresa peel-works

How Hashmap, HashSet internally work?