|
|
@ -17,8 +17,13 @@ public class ArrayManipulation { |
|
|
|
} |
|
|
|
public static void main(String[] args) { |
|
|
|
|
|
|
|
<<<<<<< HEAD |
|
|
|
int[] arr = {1,2,3,4,5}; |
|
|
|
System.out.println(Arrays.toString(reverseArray(arr, "Hannah"))); |
|
|
|
======= |
|
|
|
int[] arr = {1,2,3,4,5,8}; |
|
|
|
System.out.println(Arrays.toString(reverseArray(arr))); |
|
|
|
>>>>>>> 471ac3d389e5c3eabdfb385a6ad08f94a8b97c3b |
|
|
|
|
|
|
|
} |
|
|
|
public static int[] removeFirst(int[] arr) { |
|
|
|