Question

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

stack
stack

tree
tree

maps
maps

graphs

Answers

There are no human answers yet.
Answered by GPT-4o mini
The correct answer is **stack**.

A stack is a data structure that follows the Last In, First Out (LIFO) principle, which makes reversing elements straightforward, as you can easily pop elements off the stack in the reverse order of how they were added.

Related Questions