Solved

Suppose We Maintain Two Linked Lists of Length N in Sorted

Question 65

Multiple Choice

Suppose we maintain two linked lists of length n in sorted order.What would be the big-Oh notation for the creating a third list, which included only elements common to both lists?


A) O(1)
B) O(n)
C) O(n log n)
D) O(n2)

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions