1/100. Jewels and Stones

class Solution: def numJewelsInStones(self, J, S): """ :type J: str :type S: str :rtype: int """ res = 0 for s in S: if s in J:
相关文章
相关标签/搜索