1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-08 08:51:42 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 16:56:27 +08:00
parent e730aa6794
commit ad15da05aa
2517 changed files with 7358 additions and 7332 deletions

View File

@@ -46,7 +46,7 @@
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"6K\", \"totalSubmission\": \"10.2K\", \"totalAcceptedRaw\": 6029, \"totalSubmissionRaw\": 10193, \"acRate\": \"59.1%\"}",
"stats": "{\"totalAccepted\": \"6.1K\", \"totalSubmission\": \"10.2K\", \"totalAcceptedRaw\": 6054, \"totalSubmissionRaw\": 10244, \"acRate\": \"59.1%\"}",
"hints": [
"What if we have the array sorted?",
"Loop the array and get the value A[i] then we need to find a value A[j] such that A[i] + A[j] < K which means A[j] < K - A[i]. In order to do that we can find that value with a binary search."