Merge Sort
overview
How It Works (Divide and Conquer)
- Divide: Split the array into two halves until subarrays have size 0 or 1.
- Conquer: Recursively sort each half.
- Combine: Merge the two sorted halves into one sorted array by repeatedly taking the smaller front element from each half.
← Prev Topic
Slide 1 / 2
Next Topic: Heap Sort →