Microsoft Interview Question

reverse a string without using library