Skip to content
#

kahns-algorithm

Here are 5 public repositories matching this topic...

C implementation of bidirectional source-sink peeling: linear-time O(V+E) cycle detection for directed dependency graphs. Repeatedly removes vertices with zero in-degree or zero out-degree; whatever remains contains a cycle.

  • Updated Sep 9, 2026
  • C

Add this topic to your repo

To associate your repository with the kahns-algorithm topic, visit your repo's landing page and select "manage topics."

Learn more