Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in 1d 16h 01m 45s1 days 16 hours 1 minutes 45 seconds.
Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in 1d 16h 01m 45s1 days 16 hours 1 minutes 45 seconds.

Sign in to watch this lesson
Advanced - Graphs · 3:53
Can every street of a city be made one-way while every intersection still reaches every other? Robbins' theorem says a connected graph has such a strongly connected orientation exactly when it has no bridge, and one depth-first search builds it: tree edges point down, back edges point up. When bridges exist, the fewest strongly connected components over all orientations is the number of connected pieces plus the number of bridges.