What is the time complexity of accessing the bottom element of a stack? - Study24x7
Social learning Network
2 followers study24x7 18 Jul 2024 01:30 PM study24x7 study24x7

What is the time complexity of accessing the bottom element of a stack?

A

O(1)

B

O(n)

C

O(log n)

D

O(n^2)

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles