mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 15:31:43 +08:00
update
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 200,
|
||||
"dislikes": 28,
|
||||
"likes": 218,
|
||||
"dislikes": 31,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Frequency of the Most Frequent Element\", \"titleSlug\": \"frequency-of-the-most-frequent-element\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
|
||||
"exampleTestcases": "[10,6,5,8]\n[1,3,5,3]",
|
||||
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"22.1K\", \"totalSubmission\": \"36.5K\", \"totalAcceptedRaw\": 22083, \"totalSubmissionRaw\": 36538, \"acRate\": \"60.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"23K\", \"totalSubmission\": \"38K\", \"totalAcceptedRaw\": 23040, \"totalSubmissionRaw\": 38004, \"acRate\": \"60.6%\"}",
|
||||
"hints": [
|
||||
"For a given element x, how can you quickly check if x - 1 and x + 1 are present in the array without reiterating through the entire array?",
|
||||
"Use a set or a hash map."
|
||||
|
Reference in New Issue
Block a user