Question: Which of the following applications can be efficiently solved using a stack?
Options:
Correct Answer: Undo functionality in text editors
Solution:
Stacks are commonly used for implementing undo functionality in text editors, as they allow for easy backtracking of actions.