compute combination is as follows:
def C(n,r):
if n==r:
return 1
elif r==1:
return n
else:
return C(n-1,r)+C(n-1,r-1)
While refer the above equation to compute C( 990, 33 ), python will take too much time.
how to boost its performance??