A stack is a data structure that consists of Nodes. Each Node references the next Node in the stack, but does not reference its previous.
Push - Node/Items put into a listPop - Node/Items removed from the listPeek - Viewingthe value of the Top nodeisEmpty - returns true if stack is emptyFILO - First In Last OutLIFO - Last In Last OutEnqueue - Node/Items added to the queueDequeue - Node/Items removed to the queueFront - First Node of the queueRear - Last Node of the queueisEmpty - returns true if stack is emptyPeek - Looking at the front node in the queueFILO - First In Last OutLIFO - Last In Last Out