Science, asked by honeybuney524, 6 months ago

Write Merge Sort Algorithm and discuss its time complexity.​

Answers

Answered by uffasif999
1

Answer:

Time complexity of Merge Sort is O(n*Log n) in all the 3 cases (worst, average and best) as merge sort always divides the array in two halves and takes linear time to merge two halves. It requires equal amount of additional space as the unsorted array.

Answered by siri228088
0

Answer:

Time complexity of Merge Sort is O(n*Log n) in all the 3 cases (worst, average and best) as merge sort always divides the array in two halves and takes linear time to merge two halves. It requires equal amount of additional space as the unsorted array.

follow me and mark my answers as brainliest

Similar questions