So, the code that is explained in the video is giving a wrong output in case of 4by5 matrix
The output is 12 13 in end whereas it should be 13 12. I have used the same code that is given in video, can you please help me out.
This problem is occurring after taking care of the corner cases.