@@ -0,0 +1,8 @@
1
+class Solution {
2
+public List<Integer> findWordsContaining(String[] words, char x) {
3
+return IntStream.range(0, words.length)
4
+.filter(i -> words[i].indexOf(x) != -1)
5
+.boxed()
6
+.collect(Collectors.toList());
7
+}
8
0 commit comments