HyScaler Interview Question

Reverse a string without using inbuilt method.