mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-21 21:16:45 +08:00
update
This commit is contained in:
@@ -161,7 +161,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"8.7K\", \"totalSubmission\": \"14.4K\", \"totalAcceptedRaw\": 8720, \"totalSubmissionRaw\": 14381, \"acRate\": \"60.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"8.7K\", \"totalSubmission\": \"14.4K\", \"totalAcceptedRaw\": 8746, \"totalSubmissionRaw\": 14420, \"acRate\": \"60.7%\"}",
|
||||
"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)."
|
||||
|
Reference in New Issue
Block a user