1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 23:11:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 15:21:05 +08:00
parent b84ae535b7
commit e730aa6794
2244 changed files with 8703 additions and 59499 deletions

View File

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