Stacks

Stacks

Stacks are a type of list in which all inserts and removals happen at one…