mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 15:31:43 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p> 给你一个字符串 <code>jewels</code> 代表石头中宝石的类型,另有一个字符串 <code>stones</code> 代表你拥有的石头。 <code>stones</code> 中每个字符代表了一种你拥有的石头的类型,你想知道你拥有的石头中有多少是宝石。</p>\n\n<p>字母区分大小写,因此 <code>\"a\"</code> 和 <code>\"A\"</code> 是不同类型的石头。</p>\n\n<p> </p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre>\n<strong>输入:</strong>jewels = \"aA\", stones = \"aAAbbbb\"\n<strong>输出:</strong>3\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre>\n<strong>输入:</strong>jewels = \"z\", stones = \"ZZ\"\n<strong>输出:</strong>0<strong>\n</strong></pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>1 <= jewels.length, stones.length <= 50</code></li>\n\t<li><code>jewels</code> 和 <code>stones</code> 仅由英文字母组成</li>\n\t<li><code>jewels</code> 中的所有字符都是 <strong>唯一的</strong></li>\n</ul>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Easy",
|
||||
"likes": 692,
|
||||
"likes": 698,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -143,7 +143,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"162.3K\", \"totalSubmission\": \"190.6K\", \"totalAcceptedRaw\": 162326, \"totalSubmissionRaw\": 190619, \"acRate\": \"85.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"164.2K\", \"totalSubmission\": \"192.7K\", \"totalAcceptedRaw\": 164176, \"totalSubmissionRaw\": 192746, \"acRate\": \"85.2%\"}",
|
||||
"hints": [
|
||||
"For each stone, check if it is a jewel."
|
||||
],
|
||||
|
Reference in New Issue
Block a user