The stack makes the reversal of elements easy. Stacks operate on a Last-In-First-Out (LIFO) principle, meaning the last element added is the first one to be removed, which allows for easy reversal of elements.
Which of the following makes the reversal of elements easy?(1 point)
Responses
maps
maps
stack
stack
tree
tree
graphs
graphs
1 answer