Workday Interview Question

Reverse a Char string.