mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 15:01:40 +08:00
update
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 1473,
|
||||
"likes": 1475,
|
||||
"dislikes": 115,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -155,7 +155,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"34.3K\", \"totalSubmission\": \"58.4K\", \"totalAcceptedRaw\": 34334, \"totalSubmissionRaw\": 58448, \"acRate\": \"58.7%\"}",
|
||||
"stats": "{\"totalAccepted\": \"34.4K\", \"totalSubmission\": \"58.6K\", \"totalAcceptedRaw\": 34398, \"totalSubmissionRaw\": 58566, \"acRate\": \"58.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