Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What is the time complexity of merge sort?
Think about how it compares to O(n²).
What is one limitation of merge sort?
Consider how merging two lists works.
What is the time complexity of merge sort?
Compare with other sorting algorithms' complexities.
Merge sort is an in-place sorting algorithm. True or False?
Think about how merge sort handles lists during operations.
Design an iterative version of merge sort that minimizes space usage.
Think about how you can work with elements without needing an entirely new list.
Implement a function that performs set intersection using merge sort's merge process.
Consider how to handle duplicates while merging.
6 more questions in this section. Enroll free to practise them all.
Enroll free