Hyland interview question

Reverse the string without using any method