MAQ Software Interview Question

reverse the characters in the string.