Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 425 Bytes

Merge Sort.md

File metadata and controls

15 lines (11 loc) · 425 Bytes

Merge Sort

--> Böl ve Yönet Algoritmasının uygulanma adımları:

- [16, 21, 11, 8, 12, 22]
- 1st STEP: [16, 21, 11] ----- [8, 12, 22]
# Diziyi tam ortadan ikiye böldük.
- 2nd STEP: [16, 21] -- [11] ----- [8, 12] -- [22]
- 3rd STEP: [16] -- [21] -- [11] ----- [8] -- [12] -- [22]
- 4th STEP: [11, 16, 21] ----- [8, 12, 22]
- 5th STEP: [8, 11, 12, 16, 21, 22]

Big O Notation

O(nlogn)