Pergunta de entrevista da empresa LTIMindtree

write code to find a given string is palindrome or not