Академический Документы
Профессиональный Документы
Культура Документы
DATA STRCUTURES
DATA STRUCTURE
Stack
Queue
Singly Link List
STACK
A stack is a Last In, First Out (LIFO) data
structure. This means that with a stack the
last item in is the first item to leave the stack.
Read, item
Set top=top+1
Set stack[top]=item