selection sort

· algorithm
정렬 알고리즘의 종류는 다음과 같다. - Simple, slow Bubble sort Insertion sort Selection sort - Fast Quick sort Merge sort Heap sort - O(N) Radix sort 오늘은 Simple하고 slow한 특성을 갖는 selection sort와 bubble sort, Insertion sort에 대해 다뤄본다. 1. Selection sort - 가장 큰수와 자리를 바꿔가면서 정렬하는 방법이다. SelectionSort(A[],n)//배열 A[1...n]을 정렬한다. { for last
이티권
'selection sort' 태그의 글 목록