Skip to content

Stack Time Complexity Table

Operation Stack
Access O(n)
Search O(n)
Insert (Push) O(1)
Delete (Pop) O(1)
Peek O(1)