NVIDIA Interview Question

Coding challenge: Reverse a string.