Related to sum of all possible submatrices using brute force method

Shouldn’t the bottom right’s loops start like this bi=li and bj=lj but in the video, it is shown like bi=li+1 and bj=lj+1.

According to me, it won’t give us all possible submatrices like 1x1 1x2 etc …

@pradhumangupta99
hello Pradhuman,
yeah u r right . it should start from bi=li and bj=lj

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.