1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-10-21 13:06:47 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 16:56:27 +08:00
parent e730aa6794
commit ad15da05aa
2517 changed files with 7358 additions and 7332 deletions

View File

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