1. Computer Science Engineering (CSE)
  2. Data Structures (DS)
  3. Linear Data Structures - List
  4. What is the space complexity for deletin...
Q.

What is the space complexity for deleting a linked list?

A. O(1)
B. O(n)
C. Either O(1) or O(n)
D. O(logn)
Answer» A. O(1)
View all MCQs in:   Data Structures (DS)

Discussion