Definition and characteristics of stack and queue
1. Stacks and queues are two commonly used and important data structures.
2. Stacks and queues are linear tables that limit insertion and deletion to the "end points" of the table. Linear tables
can be inserted and deleted at any position, and stacks can only Can insert and delete at the last position
queue
Only the first element can be deleted.
Stacks and queues are subsets of linear lists (linear lists with limited insertion and deletion positions)
The definition and characteristics of the stack
Queue definition and characteristics
The case for stacks and queues