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?
Discussion 0
Join free to post in the discussion.
Related questions
- Signs that a problem suits DPBackend Developer
- What memoisation meansBackend Developer
- What tabulation meansBackend Developer
- Cost of plain recursive FibonacciBackend Developer
- Fibonacci after adding a cacheBackend Developer
- Recursion with no base caseBackend Developer
- Ways to climb five stairsBackend Developer
- Hidden memory cost of recursionBackend Developer