← BackMark CompleteGraph DFSDepth-first traversal exploring as far as possible then backtrack.graphsdfsUpdated 2025-09-01UsesCycle detectionTopological sortComplexityO(V+E)