Visa Inc. Interview Question

Write the code to Reverse a String