Vidyalelo
Data Structure · Q63

Arrays in Data Structures

Programming · Data Structure · question 63

Q63

What is the time complexity for inserting/deleting at the beginning of the array?

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

Answer: Option B

Solution

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