HCLTech Interview Question

Reverse a string