1.(stack) In informatics, a stack is a method of structuring data using the LIFO form (last in, first out), which allows storing and retrieving data.
The stack should be thought of as a ream of sheets on a desktop, with only two possible basic operations: stack (add or push) and unstack (pull or pop).Sheets are added one above the other, and removed from top to bottom.This means that at all times, you can only directly access the last element added (the one that is higher in the stack, which is called TOS).
2.See battery.
Related: Queue.
Comments
Post a Comment