Sportz Interactive Interview Question

reverse a string without using inbuilt functions