Data Structures & AlgorithmsModerateICPC regional · graph theory

Problem: What is a 'bridge' in an undirected graph?

  1. A. A vertex with degree zero
  2. B. An edge whose removal increases the number of connected components
  3. C. A cycle of length three
  4. D. The shortest path between two nodes

Correct answer: B. An edge whose removal increases the number of connected components

Removing a bridge disconnects its endpoints, which is what the low-link test detects.

More Coding Interview Problems questions

Exams that ask this topic