Showing Run time Error in TestCase7(factorial)

code:

@myself.yash.srivastav Increase the size of res array to 1000 and then check.