C***U 发帖数: 2406 | 1 We can use stack to do DFS, right?
Like we use queue to do BFS.
I have this question since Introduction to Algorithm does it in another way. | p*****2 发帖数: 21240 | 2
way.
recursion实质就是stack吧。
【在 C***U 的大作中提到】 : We can use stack to do DFS, right? : Like we use queue to do BFS. : I have this question since Introduction to Algorithm does it in another way.
| C***U 发帖数: 2406 | 3 OK.
reasonable!
Thanks.
【在 p*****2 的大作中提到】 : : way. : recursion实质就是stack吧。
|
|