Quartech Interview Question

Write pseudo code to reverse a string