Inputs can be 1..10 for which I am trying to find the factorial recursive way. for 1000000 it take 18 min approximately like that 5999999 it takes 1 and half day 15 min