Marin Software Interview Question

Check whether a string is a palindrome