Bloomberg Interview Question

Reverse a string