공부합시다 썸네일형 리스트형 Selection sort Selection sort Task : From those integers that are currently unsorted, find the smallest and place it next in the sorted list Input: n integers are stored in an array list[i], 0 ≤ i < n Output: a sorted list[i], 0 ≤ i < n Specification for (i = 0; i < n; i++){ Examine list[i] to list[n-1] and supposed that the smallest integer is at list[min]; Interchange list[i] and list[min]; } 정렬이 안 돼있는 숫자들 중.. 더보기 이전 1 2 3 4 5 다음