Pregunta de entrevista de Drugwrite Services

revers string without using reverse key