Pregunta de entrevista de Intel Corporation

Write factorial function with and without recursive.