mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 23:11:41 +08:00
update
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": true,
|
||||
"difficulty": "Medium",
|
||||
"likes": 127,
|
||||
"dislikes": 123,
|
||||
"likes": 128,
|
||||
"dislikes": 126,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
"exampleTestcases": "[\"0.700\",\"2.800\",\"4.900\"]\n8\n[\"1.500\",\"2.500\",\"3.500\"]\n10\n[\"1.500\",\"2.500\",\"3.500\"]\n9",
|
||||
@@ -46,7 +46,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"7.3K\", \"totalSubmission\": \"16.4K\", \"totalAcceptedRaw\": 7302, \"totalSubmissionRaw\": 16412, \"acRate\": \"44.5%\"}",
|
||||
"stats": "{\"totalAccepted\": \"7.4K\", \"totalSubmission\": \"16.6K\", \"totalAcceptedRaw\": 7405, \"totalSubmissionRaw\": 16590, \"acRate\": \"44.6%\"}",
|
||||
"hints": [
|
||||
"If we have integer values in the array then we just need to subtract the target those integer values, so we reduced the problem.",
|
||||
"Similarly if we have non integer values we have two options to put them flor(value) or ceil(value) = floor(value) + 1, so the idea is to just subtract floor(value).",
|
||||
|
Reference in New Issue
Block a user