1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 07:21:40 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-05-02 23:44:12 +08:00
parent 7ea03594b3
commit 2a71c78585
4790 changed files with 11696 additions and 10944 deletions

View File

@@ -11,8 +11,8 @@
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Hard",
"likes": 61,
"dislikes": 14,
"likes": 64,
"dislikes": 16,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Number of Digit One\", \"titleSlug\": \"number-of-digit-one\", \"difficulty\": \"Hard\", \"translatedTitle\": null}]",
"exampleTestcases": "1\n1\n13\n3\n100\n250",
@@ -34,7 +34,7 @@
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"2.6K\", \"totalSubmission\": \"6.2K\", \"totalAcceptedRaw\": 2637, \"totalSubmissionRaw\": 6184, \"acRate\": \"42.6%\"}",
"stats": "{\"totalAccepted\": \"2.7K\", \"totalSubmission\": \"6.3K\", \"totalAcceptedRaw\": 2694, \"totalSubmissionRaw\": 6271, \"acRate\": \"43.0%\"}",
"hints": [
"Define a function f(x) to get the requested sum from 1 to x. So the answer will be f(hi) - f(lo - 1)",
"In order to solve f(x) we need to do a DP over digits approach."