NetApp interview question

Q: Code how to reverse a string