mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
update
This commit is contained in:
@@ -143,7 +143,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"355.6K\", \"totalSubmission\": \"586.9K\", \"totalAcceptedRaw\": 355610, \"totalSubmissionRaw\": 586851, \"acRate\": \"60.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"355.6K\", \"totalSubmission\": \"586.9K\", \"totalAcceptedRaw\": 355647, \"totalSubmissionRaw\": 586918, \"acRate\": \"60.6%\"}",
|
||||
"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