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.
Responses
stack
stack
tree
tree
maps
maps
graphs
1 answer
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.