mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 07:51:41 +08:00
update
This commit is contained in:
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"33.6K\", \"totalSubmission\": \"93.5K\", \"totalAcceptedRaw\": 33629, \"totalSubmissionRaw\": 93526, \"acRate\": \"36.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"33.6K\", \"totalSubmission\": \"93.5K\", \"totalAcceptedRaw\": 33630, \"totalSubmissionRaw\": 93529, \"acRate\": \"36.0%\"}",
|
||||
"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