in brute force algo, i think it is not include 1 cross 1 matrix
Sum of all submatix -brute force
@Rishabhsharm Yes…according to the brute force solution as mentioned in the video, 1 x 1 matrix is not included.
To include that you just have to modify the loops for bottom right coordinates. Just begin these loops from top left coordinate values.