Ericsson Interview Question

reverse a string