Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 7 - No. 18)
In the context of computer science, which of the following is a primary characteristic of a stack data structure?
FIFO (First-In, First-Out) principle.
Random access to elements.
LIFO (Last-In, First-Out) principle.
Unlimited capacity.
Explanation
Stacks follow LIFO (Last-In, First-Out).
Comments (0)
