1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-02 14:12:17 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-05-02 23:44:12 +08:00
parent 7ea03594b3
commit 2a71c78585
4790 changed files with 11696 additions and 10944 deletions

View File

@@ -12,7 +12,7 @@
"translatedContent": "<p>稀疏数组搜索。有个排好序的字符串数组,其中散布着一些空字符串,编写一种方法,找出给定字符串的位置。</p>\n\n<p><strong>示例1:</strong></p>\n\n<pre><strong> 输入</strong>: words = [&quot;at&quot;, &quot;&quot;, &quot;&quot;, &quot;&quot;, &quot;ball&quot;, &quot;&quot;, &quot;&quot;, &quot;car&quot;, &quot;&quot;, &quot;&quot;,&quot;dad&quot;, &quot;&quot;, &quot;&quot;], s = &quot;ta&quot;\n<strong> 输出</strong>-1\n<strong> 说明</strong>: 不存在返回-1。\n</pre>\n\n<p><strong>示例2:</strong></p>\n\n<pre><strong> 输入</strong>words = [&quot;at&quot;, &quot;&quot;, &quot;&quot;, &quot;&quot;, &quot;ball&quot;, &quot;&quot;, &quot;&quot;, &quot;car&quot;, &quot;&quot;, &quot;&quot;,&quot;dad&quot;, &quot;&quot;, &quot;&quot;], s = &quot;ball&quot;\n<strong> 输出</strong>4\n</pre>\n\n<p><strong>提示:</strong></p>\n\n<ol>\n\t<li>words的长度在[1, 1000000]之间</li>\n</ol>\n",
"isPaidOnly": false,
"difficulty": "Easy",
"likes": 66,
"likes": 69,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"23.2K\", \"totalSubmission\": \"41.5K\", \"totalAcceptedRaw\": 23233, \"totalSubmissionRaw\": 41513, \"acRate\": \"56.0%\"}",
"stats": "{\"totalAccepted\": \"23.9K\", \"totalSubmission\": \"42.5K\", \"totalAcceptedRaw\": 23857, \"totalSubmissionRaw\": 42477, \"acRate\": \"56.2%\"}",
"hints": [
"尝试修改二分查找来处理这个问题。"
],