Pocket Gems Interview Question

write psuedocode/code to reverse string.