Pergunta de entrevista da empresa Bloomberg

Write function to find factorial of an integer

Resposta da entrevista

Sigiloso

13 de ago. de 2014

The value of factorial() grows so rapidly that you can precompute all the useful values for the range of 32 or 64 bit integers, taking into account numeric overflow, and put the precomputed values into an array.