EAI Technologies Interview Question

Reversing a string