1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-09 01:11:42 +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

@@ -167,7 +167,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"3.3K\", \"totalSubmission\": \"8.8K\", \"totalAcceptedRaw\": 3322, \"totalSubmissionRaw\": 8778, \"acRate\": \"37.8%\"}",
"stats": "{\"totalAccepted\": \"3.3K\", \"totalSubmission\": \"8.8K\", \"totalAcceptedRaw\": 3323, \"totalSubmissionRaw\": 8779, \"acRate\": \"37.9%\"}",
"hints": [
"Sort the array, now let <code>x <= y</code> which means <code>|x - y| <= min(x, y)</code> can now be written as <code>y - x <= x</code> or in other words, <code>y <= 2 * x</code>.",
"If <code>x</code> and <code>y</code> have the same number of bits, try making<code>y</code>s bits different from x if possible for each bit starting from the second most significant bit.",