Pregunta de entrevista de Deloitte

How does iterative.vs recursive algorithm work