DICK'S Sporting Goods Interview Question

How to reverse a string