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,8 +11,8 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 491,
|
||||
"dislikes": 884,
|
||||
"likes": 495,
|
||||
"dislikes": 891,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
"exampleTestcases": "[\"cbd\"]\n[\"zaaaz\"]\n[\"bbb\",\"cc\"]\n[\"a\",\"aa\",\"aaa\",\"aaaa\"]",
|
||||
@@ -161,7 +161,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"64.6K\", \"totalSubmission\": \"105.8K\", \"totalAcceptedRaw\": 64578, \"totalSubmissionRaw\": 105774, \"acRate\": \"61.1%\"}",
|
||||
"stats": "{\"totalAccepted\": \"65K\", \"totalSubmission\": \"106.5K\", \"totalAcceptedRaw\": 65045, \"totalSubmissionRaw\": 106472, \"acRate\": \"61.1%\"}",
|
||||
"hints": [
|
||||
"For each string from words calculate the leading count and store it in an array, then sort the integer array.",
|
||||
"For each string from queries calculate the leading count \"p\" and in base of the sorted array calculated on the step 1 do a binary search to count the number of items greater than \"p\"."
|
||||
|
Reference in New Issue
Block a user