1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 23:41:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2023-12-09 19:57:46 +08:00
parent 9bc4722a45
commit 3770b44d1e
4792 changed files with 10889 additions and 10886 deletions

View File

@@ -167,7 +167,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"12.8K\", \"totalSubmission\": \"20.3K\", \"totalAcceptedRaw\": 12780, \"totalSubmissionRaw\": 20277, \"acRate\": \"63.0%\"}",
"stats": "{\"totalAccepted\": \"12.8K\", \"totalSubmission\": \"20.3K\", \"totalAcceptedRaw\": 12781, \"totalSubmissionRaw\": 20278, \"acRate\": \"63.0%\"}",
"hints": [
"For each row i, create an array nums where: if mat[i][j] == 0 then nums[j] = 0 else nums[j] = nums[j-1] +1.",
"In the row i, number of rectangles between column j and k(inclusive) and ends in row i, is equal to SUM(min(nums[j, .. idx])) where idx go from j to k. Expected solution is O(n^3)."