Sun Technologies Interview Question

Difference between hash map and hash set. Write a program on palindrome