Fidelity Investments interview question

reverse a string in coding language of choice