Yahoo Interview Question

reverse string