In the video, Why j loop is running upto k ..isn't it be upto n?

I think it should be upto n as we are traverseing a particular row

Hey @mb129162
Yup its n and he also corrects that in the video at 3:06

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.