The number of comparisons needed in the worst case by the merge sort algorithm will be
Answers
Answered by
0
An example of merge sort. First divide the list into the smallest unit (1 element), then compare each element with the adjacent list to sort and merge the two adjacent lists. Finally all the elements are sorted and merged.
Class Sorting algorithm
Data structure Array
Worst-case performance O(n log n)
Answered by
0
Explanation:
the number of comparison needed in worst case by merge sort algorithm
Similar questions
Hindi,
6 months ago
Math,
6 months ago
Biology,
1 year ago
Computer Science,
1 year ago
Math,
1 year ago