1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-08 00:41:42 +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

@@ -34,7 +34,7 @@
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"998\", \"totalSubmission\": \"2.3K\", \"totalAcceptedRaw\": 998, \"totalSubmissionRaw\": 2299, \"acRate\": \"43.4%\"}",
"stats": "{\"totalAccepted\": \"1K\", \"totalSubmission\": \"2.4K\", \"totalAcceptedRaw\": 1049, \"totalSubmissionRaw\": 2381, \"acRate\": \"44.1%\"}",
"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."