State Farm Interview Question

reverse a string in any language