If the top of the stack is the last element in the array what is the complexity for pop() in big Oh notation?

O(1)
  • O(log n)
  • O(n)
  • O(n^2)

There are no hints for this question