Data structures & algorithmsLesson 5 of 5 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.
More in Data structures & algorithms
All Data structures & algorithms lessonsData structures & algorithmsSearch Algorithms: Data Retrieval, State Spaces, and Specialized Methods5 flashcards · 5 quiz questions · 4 gamesPlay free →Data structures & algorithmsBinary Heaps: Ordering, Array Operations, and Applications5 flashcards · 5 quiz questions · 4 gamesPlay free →Data structures & algorithmsBinary Search Trees: Ordering, Operations, Height, and Uses5 flashcards · 5 quiz questions · 4 gamesPlay free →Data structures & algorithmsTrie Structure, Operations, Compression, and Applications5 flashcards · 5 quiz questions · 4 gamesPlay free →Data structures & algorithmsSorting Algorithms: Correctness, Stability, Methods, and Trade-offs5 flashcards · 5 quiz questions · 4 gamesPlay free →Data structures & algorithmsAVL Trees: Balance, Rotations, Updates, and Set Operations5 flashcards · 5 quiz questions · 4 gamesPlay free →