Google Searching

Teritip Gooseneck Pelagis

Stack the Data Structure

Stack or stack is a data structure that seems to look like the data that is composed of 'stacking', where there is data that is located above the other data.

Stack stack or arrangement is LIFO (Last In First Out), means the last incoming data will be out first.
for example in daily life, among others:
Piles of books, piles of coins, etc..

There are two basic operations in use at the Stack:
Push function to add data on STACK on top of the pile
Pop works taking data on STACK at the top