Signify Health Interview Question

Reverse a string in Java