> This presentation seems bizarre...
My thought process was setting the context of how the problem would be solved by pen/paper and implementing a recursive solution if you didn't know binomial theorem beforehand. It is trivial to implement coeff using math.comb so skipped that part.
> Applying computational brute force...
That's the fun part at least for me, modeling problems not meant to be solved programmatically and solving them anyways.
> Finally: the JEE is specific to India...
Yeah true that, should have given a better context
Actually, I am just starting with writing blogs, so trying various avenues. Thanks again for the feedback. Will work on improvements.