NeoSOFT interview question

check the given string is palindrome or not