Pergunta de entrevista da empresa Deloitte

How does iterative.vs recursive algorithm work