Bharti Airtel interview question

Write a program for hash map and set.