Macquarie Group Interview Question

Write a program on paper to reverse a string using no standard library