K-Rise Systems Interview Question

Q: Reverse a string.