Chatham Financial Interview Question

Reverse a string

Interview Answer

Anonymous

Sep 5, 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.