Solved

Suppose We Maintain a Linked List of Length N in Sorted

Question 85

Multiple Choice

Suppose we maintain a linked list of length n in sorted order.What would be the big-Oh notation for printing out those elements that occur exactly once in the list?


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