 |
Stack (abstract data type) - Wikipedia, the free encyclopedia
If we use a dynamic array, then we can implement a stack that can grow or shrink as much as needed. The size of the stack is simply the size of the dynamic array. A dynamic array is a very efficient implementation of a stack, since adding items to or remo
en.wikipedia.org |
 |