정렬 알고리즘(2) - 기본적인 정렬 알고리즘
몇가지 정렬 알고리즘을 더 찾아보았다 같이 탐색해보자 public class Selection { static int[] input = { 5, 6, 2, 8, 7, 23, 4, 1 }; public static void main(String[] args) { selectionSortMin(input, input.length); for (int a : input) { System.out.print(a + " "); } going(input, input.length); for (int a : input) { System.out.print(a + " "); } } static void selectionSortMin(int[] input, int length) { int min; int tmp; for (in..
2021. 4. 16.