edited by
2,445 views
1 votes
1 votes

Given two sorted list of size $m$ and $n$ respectively. The number of comparisons needed the worst case by the merge sort algorithm will be:

  1. $m \times n$
  2. maximum of $m$ and $n$
  3. minimum of $m$ and $n$
  4. $m+n-1$
edited by

1 Answer

Best answer
3 votes
3 votes

option d

worst case comparisons in merge sort is o(m+n-1)

selected by
Answer:

Related questions

1 votes
1 votes
2 answers
1
1 votes
1 votes
1 answer
2
Arjun asked Apr 22, 2018
5,181 views
An array $A$ consists of $n$ integers in locations $A[0], A , \ldots A[n-1]$. It is required to shift the elements of the array cyclically to the left by $k$ places, wher...
3 votes
3 votes
1 answer
3
Arjun asked Apr 22, 2018
5,081 views
The following paradigm can be used to find the solution of the problem in minimum time:Given a set of non-negative integer and a value $K$, determine if there is a subset...
4 votes
4 votes
2 answers
4
Arjun asked Apr 22, 2018
3,900 views
Which of the following is application of Breath First Search on the graph?Finding diameter of the graphFinding bipartite graphBoth (a) and (b)None of the above