Pregunta de entrevista de EPAM Systems

Convert recursive algorithm to iterative and vice versa