diff --git a/patterns/java/ConcatenationArray.java b/patterns/java/ConcatenationArray.java new file mode 100644 index 0000000..a4cbf41 --- /dev/null +++ b/patterns/java/ConcatenationArray.java @@ -0,0 +1,25 @@ +//1929. Concatenation of Array +class Solution { + public int[] getConcatenation(int[] nums) { + int b = nums.length; + int [] numeros = new int[b*2]; + int j = 0; + for(int i = 0; i< b *2; i++){ + + if(i