Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Node
- Webpack
- log4j2
- REACTJS
- 퀵소트
- eslint
- Effective Java 3/e
- Regular expression
- spring
- Chunk
- regex
- expire_logs_days
- JavaScript
- npm
- Express
- spring cloud
- nodejs
- mysql 5.5
- update
- 정규표현식
- upgrade
- git
- current_date
- log_bin
- java
- Effective Java
- Spring Batch
- migration
- MySQL
- REACT
Archives
- Today
- Total
728x90
목록quick sort (1)
728x90
내 세상
[Algorithms] Sort Special - Inserting, Counting, Quick, Heap
Inserting Sort - N 크기의 배열 - 두 번째 index부터 시작해서, 앞 부분에 자신보다 작은 값이 있을 때까지 지나가는 값을 (현재 위치+1)로 이동시킴 - 시간복잡도 O(N^2) Counting Sort - N 크기의 배열, K 크기의 배열 (counting 용도) - 배열 내 각 값들의 개수를 counting → counting된 array를 누적해가며 index 계산 → N 크기 배열 순회하며 배치 - 시간복잡도 O(N+K) - reference) http://www.cs.miami.edu/home/burt/learning/Csc517.091/workbook/countingsort.html Quick Sort - N 크기의 배열 - Divide and Conquer 방법 - 과정 (..
Coding/Algorithms
2019. 5. 1. 15:42