1277. Count Square Submatrices with All Ones - Explanation

Problem Link