Given two sorted list of size 'm' and 'n' respectively. The number of…

PYQ Hexaware Hiring Assessment 2023

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

  1. A.

    m × n

  2. B.

    maximum of m, n

  3. C.

    minimum of m, n

  4. D.

    m + n – 1

Attempted by 400 students.

Sign up free to check your answer

Sign up free

Explore the full course: Cdac C Cat Complete Preparation

Loading lesson…