benefits of using implementation independent data structures related in stacks
The stack implements the concept of first in last out, the complexity of adding to the stack is constant as is getting (removing) the last added element. This is all the benefits of the stack.
Comments
Leave a comment