Graph TheoryChallengeGraph Algorithms
Graph Algorithms · Challenge problem
A communications system has terminals split into two separate groups with NO connections between the groups, and connections in total: within the first group (terminals –): ; within the second (terminals –): . A depth-first search is run separately inside each group, starting from its lowest-numbered terminal. Across both groups combined, how many of the connections end up as back edges (not used by either search tree)?