Altimetrik Interview Question

Check for palindrome in String.