Broadcom Interview Question

Reverse the letters in a string.