I was recently asked, in an interview, to describe a method to calculate the factorial of any arbitrarily large number; a method in which we obtain all the digits of the answer.
I searched various places and asked in a few forums. But I would like to know if there is any way to accomplish this without using libraries like GMP.
Thank you.