Domanda di colloquio di Deloitte

How does iterative.vs recursive algorithm work