Updated: 2024-03-12
1 min read

On This Page

class Solution:
    def findWordsContaining(self, words: List[str], x: str) -> List[int]:
        return [i for i, w in enumerate(words) if x in w]
Previous
Next