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-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\": \"53\", \"totalSubmission\": \"108\", \"totalAcceptedRaw\": 53, \"totalSubmissionRaw\": 108, \"acRate\": \"49.1%\"}",
"stats": "{\"totalAccepted\": \"54\", \"totalSubmission\": \"110\", \"totalAcceptedRaw\": 54, \"totalSubmissionRaw\": 110, \"acRate\": \"49.1%\"}",
"hints": [
"If you know the possible sums you can get for a range [l, r], how can you use this information to calculate the possible sums you can get for a range [l, r + 1]?",
"For the range [l, r], if it is possible to choose elements such that the sum of elements you picked from nums1 is x and the sum of elements you picked from nums2 is y, then (x + nums1[r + 1], y) and (x, y + nums2[r + 1]) are possible sums you can get in the range [l, r + 1].",