• Courses
  • Tutorials
  • Practice
  • Contests
Switch to Dark Mode

DSA Tutorial - Array: Question 10

Last Updated : Feb 4, 2025
Discuss
Comments

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

A

O(1)

B

O(N log N)

C

O(log N)

D

O(N)

Tags:
Share your thoughts in the comments