題組內容

5. A typical maze problem, where the goal is to find a path between two cells in a maze, is often solved with a stack. Answer the following questions:

(3%) (a) What is the purpose of using a stack?