Veilant Interview Question

There one question was Is string palindrome.