Pergunta de entrevista da empresa Counterpoint Consulting

Write functions that return the factorial of n, using both iterative and recursive methods.