Silver Library (Archived)
#4 Insertion Sort 본문
반응형
삽입정렬 알고리즘?
- Key 값을 정렬된 배열에 알맞은 위치에 삽입하여 정렬문제를 푸는 알고리즘으로 시간복잡도는 ceta(n^2).
노트.
Big o notation 과 밀접한 연관이 있는 개념이 아닐까 생각 되는 부문.
Insertion Sort is a stable comparison sort algorithm with poor performance. Insertion Sort uses the insertion method and while it can perform at O(n) in the best case, it performs at O(n2) in the average and worst case.
'F2. Problem & Solving > Theory of algorithm' 카테고리의 다른 글
Difference between Hash vs Node memory (0) | 2023.04.25 |
---|---|
Iteration vs loop, aren't they the same? (0) | 2023.01.17 |
#3 Selection, Sorting algorithm (0) | 2023.01.10 |
#2 Algorithm, 4 steps and way to describe it. (0) | 2023.01.08 |
#1 Start - Fundamental of algorithm (0) | 2023.01.07 |