JPMorganChase Interview Question

Simple coding exercise like find if string is a palindrome.