Pergunta de entrevista da empresa Sun Technologies

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