How did this came pls teach, line8
Hello, @rounaqkhandelwal24,
Every element in the pascal triangle is a binomial coefficient and also you might be familiar with this equation:
It’s obvious then by replacing r with r+1,
nCr+1 = (nCr)(n-r)/(r+1)
Now, nCr+1 is the current element and nCr is the previous element.
current element = (prev)(n-r)/(r+1)
In our case n is i and r is j. So,
current = (prev)(i-j)/(j+1)
I hope you now understood the derivation.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.