DLF Interview Question

Reverse a string using not inbuilt methods