+1 vote
in Class 12 by kratos

What is a stack? Mention the types of operations performed on the stacks.

1 Answer

+4 votes
by kratos
 
Best answer

A stack is an ordered collection of items in which data item may be inserted and deleted at one end.
The stack(), push(item), pop(), peek(), isEmpty() and size() are the operations that can be performed on stacks.

...