Blackbaud interview question

Reverse a string