K-Rise Systems interview question

Q: Reverse a string.