MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / depth_first_search.py

File depth_first_search.py

graphs/depth_first_search.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""Non recursive implementation of a DFS algorithm."""
2
3from __future__ import annotations
4

Callers

nothing calls this directly

Calls 1

depth_first_searchFunction · 0.70

Tested by

no test coverage detected