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 4843931 commit 88cc7d7Copy full SHA for 88cc7d7
lesson_11/arrays_java/arrays_app/src/main/java/com/codedifferently/lesson11/Lesson11.java
@@ -27,9 +27,10 @@ public int[] getConcatenation(int[] nums) {
27
public List<Integer> findWordsContaining(String[] words, char x) {
28
var result = new ArrayList<Integer>();
29
int wordArray = (words.length);
30
-
+
31
for (int i = 0; i < wordArray; i++) {
32
- if (words[i].contains(Character.toString(x)));
+ if (words[i].contains(Character.toString(x)))
33
+ ;
34
result.add(i);
35
}
36
return result;
0 commit comments