peel-works Interview Question

How Hashmap, HashSet internally work?