Pregunta de entrevista de Atos-Syntel

How would you write a program to tell if a word is a palindrome?

Respuesta de la entrevista

Anónimo

25 jul 2021

First, find the reverse of the string using for loop and charAt() method, and compare it with the original string using the .equals method.