Pregunta de entrevista de Chatham Financial

Reverse a string

Respuesta de la entrevista

Anónimo

5 sept 2017

I initially did it using Python's [::-1], but the developers wanted me to do it in Java, as they were not familiar with Python. I then converted the string to a character array and swapped the characters around.