BDIPlus Interview Question

Pseudo code for reversing a string.