Depth First Search DFS - 2 : Python code

preview_player
Показать описание
This second video explains how to write a simplified version of DFS in Python. Code returns a path between start and goal nodes. Ties are broken in alphabetic order, and edges are one-way directed.
Рекомендации по теме