Sigaram interview question

code for Palindrome, anagrams