JCPenney Interview Question

reverse a string