1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 15:31:43 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2023-12-09 19:57:46 +08:00
parent 9bc4722a45
commit 3770b44d1e
4792 changed files with 10889 additions and 10886 deletions

View File

@@ -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"