Pergunta de entrevista da empresa Unthinkable

Reverse a string without using in built function .