NVIDIA Interview Question

To find reverse of string