Optum Interview Question

an easy DSA question: reverse a string