kosaraju_scc
Identify all strongly connected components in a directed graph using Kosaraju's two-pass algorithm, enabling cycle and dependency analysis from vertices and directed edges.
Instructions
Find all strongly connected components in a directed graph using Kosaraju's two-pass algorithm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edges | Yes | Directed edges as [from, to] pairs | |
| vertices | Yes | Number of vertices (0-indexed) |