HyScaler interview question

Reverse a string without using inbuilt method.