|
@ -6,7 +6,7 @@ public class Suchalgorythmen { |
|
|
public static void main(String[] args) { |
|
|
public static void main(String[] args) { |
|
|
|
|
|
|
|
|
int[] list1 = IntStream.generate(() -> new Random().nextInt(100)).limit(100).toArray(); |
|
|
int[] list1 = IntStream.generate(() -> new Random().nextInt(100)).limit(100).toArray(); |
|
|
int[] list2 = Arrays.copyOf(list1, list1.length);// Terrys Kommentar |
|
|
|
|
|
|
|
|
int[] list2 = Arrays.copyOf(list1, list1.length);// new add terry |
|
|
|
|
|
|
|
|
// aufruf lineare Suche |
|
|
// aufruf lineare Suche |
|
|
System.out.print("COUNTINGSORT: "); |
|
|
System.out.print("COUNTINGSORT: "); |
|
|