mirror of
https://github.com/krahets/hello-algo.git
synced 2026-04-24 10:33:34 +08:00
Add captions for all the animations.
This commit is contained in:
@@ -87,7 +87,7 @@ BFS 常借助「队列」来实现。队列具有“先入先出”的性质,
|
||||
代码相对抽象,建议对照以下动画图示来加深理解。
|
||||
|
||||
=== "<1>"
|
||||

|
||||

|
||||
|
||||
=== "<2>"
|
||||

|
||||
@@ -227,7 +227,7 @@ BFS 常借助「队列」来实现。队列具有“先入先出”的性质,
|
||||
为了加深理解,请你将图示与代码结合起来,在脑中(或者用笔画下来)模拟整个 DFS 过程,包括每个递归方法何时开启、何时返回。
|
||||
|
||||
=== "<1>"
|
||||

|
||||

|
||||
|
||||
=== "<2>"
|
||||

|
||||
|
||||
Reference in New Issue
Block a user