Subato

IsSorted

Sortierung prüfen

Gegeben ein Array von Integer-Werten, prüfen Sie ob das Array aufsteigend sortiert ist (true) oder nicht (false}). Lösen Sie das Problem mit einer iterativen und einer rekursiven Implementierung.


package de.hsrm.ads; public class IsSorted { public static boolean isSortedIterative(int[] a) { } public static boolean isSortedRecursive(int[] a) { } }
java
You are not logged in and therefore you cannot submit a solution.