mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 3663,
|
||||
"dislikes": 7686,
|
||||
"dislikes": 7687,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Encode and Decode Strings\", \"titleSlug\": \"encode-and-decode-strings\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"String Compression\", \"titleSlug\": \"string-compression\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
|
||||
"exampleTestcases": "1\n4",
|
||||
@@ -143,7 +143,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"855K\", \"totalSubmission\": \"1.6M\", \"totalAcceptedRaw\": 855015, \"totalSubmissionRaw\": 1590398, \"acRate\": \"53.8%\"}",
|
||||
"stats": "{\"totalAccepted\": \"855.1K\", \"totalSubmission\": \"1.6M\", \"totalAcceptedRaw\": 855110, \"totalSubmissionRaw\": 1590500, \"acRate\": \"53.8%\"}",
|
||||
"hints": [
|
||||
"Create a helper function that maps an integer to pairs of its digits and their frequencies. For example, if you call this function with \"223314444411\", then it maps it to an array of pairs [[2,2], [3,2], [1,1], [4,5], [1, 2]].",
|
||||
"Create another helper function that takes the array of pairs and creates a new integer. For example, if you call this function with [[2,2], [3,2], [1,1], [4,5], [1, 2]], it should create \"22\"+\"23\"+\"11\"+\"54\"+\"21\" = \"2223115421\".",
|
||||
|
Reference in New Issue
Block a user