Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- data
- design pattern
- maven
- click.native
- java
- Singleton pattern
- Factory Method Pattern
- prototype pattern
- v-show vs v-if
- vuejs
- MVVM
- kebab case
- IPv6
- Python
- v-model vs v-bind
- Spring Boot
- executable jar
- mount point
- $event.target.value
- ubuntu
- Linux
- camel case error
- builder pattern
- zen of python
Archives
- Today
- Total
Eddie's Blog
Sorting Algorithms 본문
https://www.toptal.com/developers/sorting-algorithms/
1. 삽입 정렬 (Insertion Sorting)
for i ← 1 to length(A) - 1
j ← i
while j > 0
if A[j - 1] > A[j]
swap A[j] and A[j - 1]
end if
j ← j - 1
end while
end for
2. 선택
3. 버블
4. 쉘
5. 퀵
6. 힙
7. 머지
Comments