ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ArrayStack.h

The STACK of the book realized with a vector of a given capacity \( c \). More...

Files

file  ADS/stack/ArrayStack.h
 The STACK of the book [see ADT.h] realized with a vector of a given capacity \( c \): the \( n \) items are in the first \( n \) places, the top in the place \( n - 1 \), so that every operation takes \( O( 1 ) \) time.

Classes

class  ADS::ArrayStack< T >
 a STACK realized with a vector of a given capacity More...

Detailed description

The STACK of the book realized with a vector of a given capacity \( c \).

The definitions, the invariants and the costs of the area are in Theory of stacks.