What is the time complexity of Merge Sort?
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: easy
Interview Round: Other
Overview: Asks for the time complexity of merge sort in the best, average and worst case and where the bound comes from. It tests whether a candidate can derive the cost from the recurrence or recursion tree, account for the merge step and its extra memory, and compare merge sort with other common sorting algorithms.