Data Structures Practice Test
Data Structures Stacks and Queues
Which real-world scenario best illustrates LIFO (Last In, First Out) behavior?
Select your answer
A
Waiting in a checkout line
B
Undo/redo functionality in a text editor
C
Scheduling print jobs on a printer
D
Breadth-first traversal of a graph
Hint