Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1
Stacks Queue
• A stack is a linear structure in which insertions and • A queue is a linear structure in which
deletions are always make at one end, called the top. 4all insertions are done at one end, called the rear or
• This updating policy is call last in, first out (LIFO) back, and
4all deletions are done at the other end, called the front.
• This updating policy is called first in, first out (FIFO)