Count Strongly Connected Components Using Kosaraju's Algorithm

Asked at Expedia · Coding & Leetcode-style Questions · Difficulty: Medium

Given a directed graph with `n` nodes labeled from `0` to `n - 1` and `m` directed edges.

Loading the problem…