mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 15:31:43 +08:00
update
This commit is contained in:
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"35.9K\", \"totalSubmission\": \"120.2K\", \"totalAcceptedRaw\": 35878, \"totalSubmissionRaw\": 120197, \"acRate\": \"29.8%\"}",
|
||||
"stats": "{\"totalAccepted\": \"35.9K\", \"totalSubmission\": \"120.2K\", \"totalAcceptedRaw\": 35880, \"totalSubmissionRaw\": 120207, \"acRate\": \"29.8%\"}",
|
||||
"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