Infosys Interview Question

Palindrome and Reverse a string