Friday, 5 June 2015

Q25,Paper 2, D13. Given two sorted list of size ‘m’ and ‘n’ respectively. The number of comparison needed in the worst case by the merge sort algorithm will be



(A) m ×n
(B) max (m, n)
(C) min (m, n)
(D) m + n – 1
Answer D.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.