For merging two sorted lists of sizes m and n into a sorted list of size m+n,…

PYQ GATE 1995

For merging two sorted lists of sizes m and n into a sorted list of size m+n, we required comparisons of

  1. A.

    O(m)

  2. B.

    O(n)

  3. C.

    O(m+n)

  4. D.

    O(log m + log n)

Attempted by 198 students.

Sign up free to check your answer

Sign up free

Explore the full course: Algorithms

Loading lesson…