We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53888de commit ce663c9Copy full SHA for ce663c9
Jewels and Stones - Leetcode 771.py
@@ -7,3 +7,6 @@ def numJewelsInStones (self, jewels: str, stones: str) -> int:
7
if stone in s:
8
count += 1
9
return count
10
+
11
+# Time Complexity: O(n + m)
12
+# Space Complexity: O(n)
0 commit comments