Skip to content
RED SAGSkills
medium10 pts · first answer countsdynamic-programminggrid-dp

Largest square of 1s in a matrix

dp[r][c] is the side of the largest all-1 square whose bottom-right corner is (r, c). For a cell with value 1, what is the rule?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions