Question: What role do stacks play in backtracking algorithms?
Options:
Correct Answer: They keep track of the path taken.
Solution:
Stacks are used in backtracking algorithms to keep track of the path taken, allowing the algorithm to revert to previous states.