Term
Stack
A data structure where elements are added and removed at one end only, the top. The last element in is the first one out (LIFO).
The lesson that explains this term
Lessons that use this term
4.1.1Creating an array stack4.1.2Push: adding an element4.1.3Pop: removing an element4.1.4Peek: looking at the top4.2.1Creating a linked-list stack4.2.5Array or linked list?4.3.1Balanced parentheses4.3.2Converting infix to postfix4.3.3Evaluating a postfix expression5.0What is a queue?5.6.1Deque: the double-ended queue5.6.2A queue from two stacks