Skip to content

Commit d378e3b

Browse files
Update 771. Jewels and Stones.py
1 parent 87b6759 commit d378e3b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

python/easy/771. Jewels and Stones.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
class Solution:
2+
```
3+
numJewelsInStone counts the number of jewels that are also stones
4+
jewels: string
5+
stones: string
6+
```
27
def numJewelsInStones(self, jewels: str, stones: str) -> int:
38
jewels_list = list(jewels)
49
stones_list = list(stones)

0 commit comments

Comments
 (0)