Vidyalelo
Data Structure · Q60

Introduction to Data Structures

Programming · Data Structure · question 60

Q60

What is the time complexity of inserting at the end in dynamic arrays?

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

Answer: Option D

Solution

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