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

What is stack explain with diagram?

0 Answers  


What is the idea behind splaying?

0 Answers  


What is the average number of comparisons needed in a sequential search to determine the position of an element in an array of 100 elements, if the elements are ordered from largest to smallest?

19 Answers   ABB, SDE,


What is complexity algorithm?

0 Answers  


Is array a collection?

0 Answers  






What is a cycle or a circuit?

0 Answers  


Explain the terms base case, recursive case, binding time, run-time stack and tail recursion.

0 Answers  


How can you insert a node to the beginning of a singly linked list?

0 Answers  


How to reference all the elements in a one-dimension array?

0 Answers  


What is data structure geeksforgeeks?

0 Answers  


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

1 Answers   Wipro,


Which is faster list or set?

0 Answers  


Categories