Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 187 Bytes

File metadata and controls

6 lines (4 loc) · 187 Bytes

搜索算法

搜索算法大致分为两类

  • DFS: 深度优先搜索(一条道路遍历到低处再回溯回去)
  • BFS: 广度优先搜索(一层一层地向下进行搜索)