SAP Concur Interview Question

Check if a string is symmetric or not.

Interview Answer

Anonymous

Jan 26, 2017

Create a new empty String, copy the characters of the original string into the new string starting with the last characters and ending with the first. If the original and the new strings are the same, then the word is a palindrome.