DEV Community

Discussion on: Count Square Submatrices with All Ones - Leet Code

Collapse
 
gurrrung profile image
R. Gurung

You just told the algorithm instead of talking about the intuition on how to come up with such algorithms, why are you even using minimum value of all but not maximum or diagonal value?