Fidelity Investments interview question

Reverse a string without using built-in functions