Factorial problem


all my tests cases are showing the result failed
can you check the problem

@yyashu123 Your code will not work for large test cases.
You have to find the factorial of very large numbers. You can’t store the factorials of 100, 200 (as any datatype like int or say long long int cannot store such large number)… for that you can use array which can store upto 10^6 size. Idea is to spilt the number into digits and to store each digit in the array and then perform actions digit wise. Try to find a logic.
Refer this for the approach:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.