mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 07:21:40 +08:00
update
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 361,
|
||||
"dislikes": 8,
|
||||
"likes": 386,
|
||||
"dislikes": 10,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Find First and Last Position of Element in Sorted Array\", \"titleSlug\": \"find-first-and-last-position-of-element-in-sorted-array\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Can Make Palindrome from Substring\", \"titleSlug\": \"can-make-palindrome-from-substring\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
|
||||
"exampleTestcases": "\"**|**|***|\"\n[[2,5],[5,9]]\n\"***|**|*****|**||**|*\"\n[[1,17],[4,5],[14,17],[5,11],[15,16]]",
|
||||
@@ -155,7 +155,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"9.7K\", \"totalSubmission\": \"21K\", \"totalAcceptedRaw\": 9738, \"totalSubmissionRaw\": 20954, \"acRate\": \"46.5%\"}",
|
||||
"stats": "{\"totalAccepted\": \"10.4K\", \"totalSubmission\": \"22.7K\", \"totalAcceptedRaw\": 10420, \"totalSubmissionRaw\": 22746, \"acRate\": \"45.8%\"}",
|
||||
"hints": [
|
||||
"Can you find the indices of the most left and right candles for a given substring, perhaps by using binary search (or better) over an array of indices of all the bars?",
|
||||
"Once the indices of the most left and right bars are determined, how can you efficiently count the number of plates within the range? Prefix sums?"
|
||||
|
Reference in New Issue
Block a user