Browse Source

Fehlerbehebung removeFirst..

konertversion
Jannik Niebuhr 2 months ago
parent
commit
b70f3ba2d4
  1. 2
      ArrayManipulation.java

2
ArrayManipulation.java

@ -8,7 +8,7 @@ public class ArrayManipulation {
public static int[] removeFirst(int[] arr){
int[] result = new int[arr.length-1];
for(int i = 1; i < arr.length, i++){
for(int i = 1; i < arr.length; i++){
result[i-1] = arr[i];
}
return result;

Loading…
Cancel
Save