아래 배열을 이용해 다음 6가지 정렬 알고리즘을 pseudo code, average time complexity, worst time complexity, space complexity와 함께 설명하세요.
배열 : 6 0 4 5 1 3 8 2
정렬 알고리즘
1. Bubble sorting
2. Selection sorting
3. Insertion sorting
4. Quick sorting
5. Merge sorting
6. Heap sorting
'data structure practice' 카테고리의 다른 글
과제12_그래프 (0) | 2023.05.21 |
---|---|
과제 10-이진탐색트리 9장 (0) | 2023.05.06 |
과제09_트리의 변화와 순회 순서 (0) | 2023.04.30 |
HW7 하노이탑 (0) | 2023.04.28 |
HW6-리스트 연습문제(chapter6) (0) | 2023.04.09 |