Pascals triangle

can this question be solved without using arrays??

Hey @srishti200201_c9588863a697e1e7,
Pascal triangle is a pyramid of the binomial coefficients.
Each row contains the binomial coefficients for the natural number corresponding to the row number.
You can use the formula

nCr = (n!)/r!*(n-r)!

for each row to get the binomial coefficients for that row;

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.