File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
lesson_11/arrays_java/arrays_app/src/main/java/com/codedifferently/lesson11 Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 4
4
import java .util .List ;
5
5
6
6
public class Lesson11 {
7
-
8
- /**
9
- * Implementation of the solution to LeetCode 1929 below:
10
- * https://leetcode.com/problems/concatenation-of-array
11
- */
7
+
12
8
public static int [] getConcatenation (int [] nums ) {
13
9
int lenOriginalArray = nums .length ;
14
10
int [] concatenatedArrays = new int [lenOriginalArray * 2 ];
@@ -23,10 +19,6 @@ public static int[] getConcatenation(int[] nums) {
23
19
return concatenatedArrays ;
24
20
}
25
21
26
- /**
27
- * Implementation of the solution to LeetCode 2942 below:
28
- * https://leetcode.com/problems/find-words-containing-character/
29
- */
30
22
public List <Integer > findWordsContaining (String [] words , char x ) {
31
23
var indexList = new ArrayList <Integer >();
32
24
int index = -1 ;
You can’t perform that action at this time.
0 commit comments