For this problem, we’ve to find out the nCr factor and for that, we have preprocess the factorial and the inverses?
Or is there some other way of finding nCr
Please help me out here
Yes the method mentioned by you is correct.
There are other ways as well but they are not efficient
1 Like