ADP interview question

reverse of a string without using build in functions