1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-10-21 13:06:47 +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

@@ -143,7 +143,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"70.6K\", \"totalSubmission\": \"124.2K\", \"totalAcceptedRaw\": 70602, \"totalSubmissionRaw\": 124165, \"acRate\": \"56.9%\"}",
"stats": "{\"totalAccepted\": \"70.6K\", \"totalSubmission\": \"124.2K\", \"totalAcceptedRaw\": 70625, \"totalSubmissionRaw\": 124234, \"acRate\": \"56.8%\"}",
"hints": [
"从蛮力解法开始。你能检查一下每个值是否为主要元素吗?",
"考虑蛮力解法。我们选择一个元素,然后通过计算匹配和非匹配元素的数量来验证它是否是主要元素。假设对于第一个元素,前几次检查显示 7 个不匹配的元素和 3 个匹配的元素。有必要继续检查这个元素吗?",