Data Structures & AlgorithmsHardICPC regional · GATE CS top band

Undirected weighted graph on vertices A, B, C, D, E, F with edges A–B (6), A–E (6), A–F (7), B–C (3), B–D (6), B–F (9), C–E (8), D–F (5). Over all paths from B to E, minimise the largest single edge weight used on the path. What is that minimum possible largest edge weight?

  1. A. 11
  2. B. 9
  3. C. 6
  4. D. 8

Correct answer: C. 6

The minimax (bottleneck) value is 6, which equals the largest edge on the MST path between the two vertices. The shortest-path bottleneck is 8, so minimising path length is not the same as minimising the largest edge.

More Trees, Graphs, Recursion and Dynamic Programming questions

Exams that ask this topic