Search results for merge-sort

48 votes
2 answers
2
0 votes
0 answers
4
Calculate the minimum and maximum number of element comparisons involved in 2 way merge sort assuming n is power of 2.
1 votes
2 answers
6
0 votes
3 answers
9
2 votes
1 answer
11
4 votes
2 answers
12
Given two sorted list of size 'm' and 'n' respectively. The number of comparisons needed in the worst case by the merge sort algorithm will bem $\times$ nmax(m, n)min(m, ...
1 votes
1 answer
13
Is 2 way merge behaves same as we do in merge sort?Dividing into groups of two from top to bottom or does it start from bottom to top by mergeing two elements at a time.?...
1 votes
3 answers
14
3 votes
2 answers
15
The average no. of comparisons performed by the merge sort algorithm, in merging two sorted lists of length 2 is -a) 8/3b) 8/5c) 11/7d) 11/6
5 votes
5 answers
20
Given two sorted list of size '$m$' and '$n$' respectively. The number of comparisons needed in the worst case by the merge sort algorithm will be :$m^{*}n$minimum of $m,...