HCLTech interview question

To check palindrome string?