Intuit Interview Question

Hashset and Hashmap declaration and working