Pergunta de entrevista da empresa NTT DATA

Multiple ways to write a function who return a factorial