Autodesk Interview Question

Given a string, reverse the string