043e845f664d0ed733c22ac99d4f2f38ebf3dffb
SelectionSort.md
| ... | ... | @@ -22,6 +22,7 @@ Hinweis: Der aktuell minimale Wert (Selection) wird direkt an die richtige Stell |
| 22 | 22 | ## Java-Implementierung |
| 23 | 23 | |
| 24 | 24 | ```java |
| 25 | + |
|
| 25 | 26 | public class SelectionSort { |
| 26 | 27 | public static void selectionSort(int[] arr) { |
| 27 | 28 | int n = arr.length; |
| ... | ... | @@ -50,4 +51,6 @@ public class SelectionSort { |
| 50 | 51 | selectionSort(data); |
| 51 | 52 | System.out.println("Sortiert: " + java.util.Arrays.toString(data)); |
| 52 | 53 | } |
| 53 | -} |
|
| ... | ... | \ No newline at end of file |
| 0 | +} |
|
| 1 | +``` |
|
| 2 | + |
|
| ... | ... | \ No newline at end of file |