Why is merge sort faster?



Why is merge sort faster?..

Answer / Jogendra

Merge sort is generally considered faster than quicksort for large data sets because its average and worst-case time complexities are both O(n log n). Merge sort divides the array into smaller subarrays, sorts them independently using simpler algorithms like insertion sort, and then merges the sorted subarrays.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What is a Breadth First Search? Give a few of its applications.

1 Answers   Ciena,


Explain different methods in which you can traverse a tree?

1 Answers   NIIT,


What are the tasks performed during inorder traversal?

1 Answers  


What does each entry in the link list called?

1 Answers  


How do we find duplicate elements in an array?

1 Answers  


What is the default size of arraylist?

1 Answers  


What is an externalizable interface?

1 Answers  


What is a directed graph?

1 Answers  


Explain data structure

1 Answers   Accenture,


What is meant by int?

1 Answers  


Why is quicksort unstable?

1 Answers  


What is meant by heap sort?

1 Answers  


Categories