In special case, the time complexity of inserting/deleting elements at the end of dynamic array is __________

Q & ACategory: Data StructureIn special case, the time complexity of inserting/deleting elements at the end of dynamic array is __________
Admin Staff asked 4 years ago

In special case, the time complexity of inserting/deleting elements at the end of dynamic array is __________
a) O (n)
b) O (n1/2)
c) O (log n)
d) O (1)

1 Answers
Admin Staff answered 4 years ago

a) O (n)