Hibiz Solutions interview question

Check whether the string is palindrome or not