From ca0a8cbb35e1e74f02fe00b4e91ec3420dc002ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johanna=20Br=C3=B6cher?= Date: Tue, 19 Apr 2022 18:52:10 +0200 Subject: [PATCH] =?UTF-8?q?Datei=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ArrayManipulation.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 ArrayManipulation.java diff --git a/ArrayManipulation.java b/ArrayManipulation.java new file mode 100644 index 0000000..4813c14 --- /dev/null +++ b/ArrayManipulation.java @@ -0,0 +1,19 @@ + import java.util.Arrays; + + public class ArrayManipulation { + + public static int[] reverseArray(int[] arr) { + for (int i = 0; i