2942. Find Words Containing Character
You are given a 0-indexed array of strings
words
and a characterx
.Return an array of indices representing the words that contain the character
x
.Note that the returned array may be in any order.
1 | class Solution { |