Anonymous Interview Question

reverse a string without using reverse function