Vidyalelo
Data Structure · Q53

Introduction to Data Structures

Programming · Data Structure · question 53

Q53

What is the space complexity for deleting a linked list?

A.
O(1)
Answer
B.
O(n)
C.
Either O(1) or O(n)
D.
O(logn)

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board