Data structures & algorithmsLesson 1 of 1 in the course Algorithm analysis and sorting
Merge Sort: Algorithms, Complexity, Variants, and Applications
5 flashcards · 5 quiz questions · 5 match pairs · 4 fill-in sentences · English
Lesson progress
0 / 5
Your progress is kept in this browser only.Sign up to save it
Summary
Merge sort is a general-purpose comparison-based sorting algorithm. This lesson introduces its divide-and-conquer strategy and explains why merging sorted sequences is the key to its efficiency.
A list of zero or one elements is already sorted. Therefore, dividing continues until the sublists each contain at most one element. These tiny sorted sublists are then merged in stages.
All flashcards
Quiz questions
Based on the Wikipedia article Merge sort, licensed CC BY-SA 4.0. Adapted into a summary, flashcards and quizzes.