mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 23:11:41 +08:00
update
This commit is contained in:
@@ -143,7 +143,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"23K\", \"totalSubmission\": \"81.4K\", \"totalAcceptedRaw\": 22961, \"totalSubmissionRaw\": 81443, \"acRate\": \"28.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"23K\", \"totalSubmission\": \"81.5K\", \"totalAcceptedRaw\": 22987, \"totalSubmissionRaw\": 81526, \"acRate\": \"28.2%\"}",
|
||||
"hints": [
|
||||
"Note that the number of powers of 2 is at most 21 so this turns the problem to a classic find the number of pairs that sum to a certain value but for 21 values",
|
||||
"You need to use something fasters than the NlogN approach since there is already the log of iterating over the powers so one idea is two pointers"
|
||||
|
Reference in New Issue
Block a user