Fidelity Investments interview question

Reverse a string using your chosen language