Industry-relevant training in Business, Technology, and Design to help professionals and graduates upskill for real-world careers.
Fun, engaging games to boost memory, math fluency, typing speed, and English skills—perfect for learners of all ages.
Merge Sort is an efficient sorting algorithm that operates in O(n log n) time. It employs a divide-and-conquer approach, breaking the list into smaller parts, sorting each part, and then merging them back together. Although it is superior to simple sorting algorithms like insertion sort and selection sort, it does require additional space and has some overhead due to its recursive nature.
References
Chapter 20.pdfClass Notes
Memorization
What we have learnt
Final Test
Revision Tests
Term: Merge Sort
Definition: A recursive sorting algorithm that divides the array into halves, sorts each half, and then merges them back together.
Term: Merge Function
Definition: A part of the merge sort algorithm that combines two sorted lists into a single sorted list.
Term: Time Complexity
Definition: A measurement of the time required for an algorithm to run as a function of the length of the input.
Term: Divide and Conquer
Definition: An algorithm design paradigm that breaks a problem into smaller sub-problems, solves each sub-problem recursively, and then combines the solutions.