Vidyalelo
Data Structure · Q16

Arrays in Data Structures

Programming · Data Structure · question 16

Q16

What is the time complexity of deleting an element from an array?

A.
O(1)
B.
O(n)
Answer
C.
O(log n)
D.
O(n log n)

Answer: Option B

Solution

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