Page 1 of 1

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

Posted: Wed Jul 13, 2022 7:41 pm
by answerhappygod
a) O(1)
b) O(n)
c) O(logn)
d) O(nlogn)