Simplest code in python


#1

Very simple soln using python. Python can easily handle large integers in factorial and nCr.
Out of total A+B-2 steps, choose the ones you’ll move down i.e, A-1 thus nCr.