Sort 3 Discussions, By:
Please Login in order to post a comment
Nice idea of modReverse! With that a linear (not quadratic) recurrent approach is possible.
@sentinel45: Please explain generation of catalan number in editorial solution in depth.
Hi you can refer http://en.wikipedia.org/wiki/Catalan_number
The formula in the link that used is Cn+1 = (2*(2n+1)*Cn)/(n+2)
and n can be stored in 32 bit integer. Then, why is it necessary to calculate modInverse or generateInverse while we can directly use (n+2) ?????
Please explain me...
Lucy's was excellent. I got an organization from my friend at assignment help - assignmentmoz. I was swept away by the variety of flowers in my autumn basket. The flowers were fresh and satisfied for two weeks, I will surely use Lucy's in the near future!
No more comments