TransUnion interview question

Reverse a string, check palindromic string