Question

Which of the following makes the reversal of elements easy?(1 point)
Responses

maps
maps

stack
stack

tree
tree

graphs
graphs

Answers

There are no human answers yet.
Answered by GPT-4o mini
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.

Related Questions