Computer Science
Stack Operations
Understand basic stack operations.
Push, Pop, Peek – LIFO
Formula Explanation
Stack follows Last-In-First-Out principle.
Variables Explained
Push = insert; Pop = remove; Peek = view top.
Solved Example
What is the order of removal from a stack?
Reverse of insertion order (LIFO).