Describe the merge sort principle and what will be its time complexity?



Describe the merge sort principle and what will be its time complexity?..

Answer / shagun

Merge sort is basically work on divide and conquer approach i.e divide,conquer ,combine and time complexity of merge sort is o(nlogn) where log n is the height of the tree and n = no of elements

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Is bucket sort stable?

0 Answers  


How do you sort a collection in descending order?

0 Answers  


Which is faster array or list?

0 Answers  


What is meant by a dynamic array?

0 Answers  


Are hash tables ordered?

0 Answers  






Define the tree data structure.

0 Answers  


Is unordered_map a hash table?

0 Answers  


What is linked list with example?

0 Answers  


Can binary tree have 1 child?

0 Answers  


Which is the parent class of abstractqueue class?

0 Answers  


why boundary tag representation is used?

0 Answers  


Explain pre-order and in-order tree traversal.

0 Answers  


Categories