InterviewDB Question

Edge Reversal: Reverse All Edges in a Directed Graph and Find New Strongly Connected Components

Question Details

Problem Given a directed graph as an adjacency list, produce its transpose (reverse all edge directions), then determine whether the set of strongly connected components (SCCs) changes. Return the transposed graph and the SCCs of both the original an…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Oa