Some Merge Sort Facts

Below are some of the facts about Merge Sort

  • Uses the divide-and-conquer paradigm
  • Average and Worst case - O(nlogn)
  • Merge sort is more efficient than Quick Sort for some types of lists if the data to be sorted can only be efficiently accessed sequentially
  • Most common implementation does not have in-place sorting. Normally it requires 2n spaces
  • It is a stable sort

Comments

Popular posts from this blog

Scala Learning: Finding Square Root

Deleting a hidden user in MAC

Problem Solving: Implement an algorithm to delete a node in the middle of a single linked list, given only access to that node