Removes the topmost element and returns the resulting collection
Removes the topmost element and returns the resulting collection
Puts a new element into the collection
Puts a new element into the collection
Returns the size of the collection
Returns the size of the collection
Returns the topmost element without changing the collection
Returns the topmost element without changing the collection
A stack. Turns the generic search into a DFS.