Pregunta de entrevista de Amazon Robotics

Write a program to detect if a string is a palindrome or not?

Respuesta de la entrevista

Anónimo

25 dic 2021

I answered this question in java using a while loop to iterate from the end indices of the string towards the middle checking for spaces or null characters.

1