Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 2 - No. 17)
What is a common characteristic of a 'stack' data structure?
Data is accessed randomly.
Elements are added and removed from the same end (LIFO).
Elements are added and removed from different ends (FIFO).
Data is stored in sorted order.
Explanation
Stacks use the LIFO principle.
Comments (0)
