Gamix Labs interview question

Longest Pallindromic Substring, check if string is anagram