Pergunta de entrevista da empresa Intel Corporation

Write factorial function with and without recursive.