Pergunta de entrevista da empresa Drugwrite Services

revers string without using reverse key