Merge Sort - Visual Analysis

preview_player
Показать описание
An in depth analysis of the merge sort sorting algorithm. Discusses time complexity, space complexity, stability, and adaptability.

Stability
Adaptability
Space Complexity
Time Complexity
- Merge Function
- Recursion Tree
- Worst Case
- Best Case

Geometric Series Reference:

Big O Notation reference

Рекомендации по теме
Комментарии
Автор

Hi. Thanks so much for these videos. They are a lifesaver for me. I have a quick question though. When talking about best case scenario, I don't quite get how it works out n/2.
Is it because in the whole loop, if we have the situation you described, it only goes over the left side (which is half of what is being sent into merge) and what's left in the right side gets dealt with in the mini whiles down the bottom?

YorozuyaNeesan