The data structure that makes the reversal of elements easy is a stack. Stacks follow the Last In First Out (LIFO) principle, which allows for easy reversal of elements when items are pushed and popped from the stack.
Which of the following makes the reversal of elements easy?(1 point)
Responses
stack
stack
maps
maps
tree
tree
graphs
1 answer