EliteFit interview question

find string is palindrom or not