Publicis Sapient Interview Question

find wether a string is pallindrome or not