1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-09 09:21:40 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2023-12-09 19:57:46 +08:00
parent 9bc4722a45
commit 3770b44d1e
4792 changed files with 10889 additions and 10886 deletions

View File

@@ -34,7 +34,7 @@
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"2.1K\", \"totalSubmission\": \"4.2K\", \"totalAcceptedRaw\": 2073, \"totalSubmissionRaw\": 4249, \"acRate\": \"48.8%\"}",
"stats": "{\"totalAccepted\": \"2.1K\", \"totalSubmission\": \"4.2K\", \"totalAcceptedRaw\": 2074, \"totalSubmissionRaw\": 4250, \"acRate\": \"48.8%\"}",
"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."