Data Structures & AlgorithmsVery hardICPC regional · graph theory

Problem: What is the maximum number of edges in a simple planar bipartite graph with V >= 3 vertices?

  1. A. 3V - 6
  2. B. V^2 / 4
  3. C. V - 1
  4. D. 2V - 4

Correct answer: D. 2V - 4

Bipartite planar graphs have no triangles, so Euler gives at most 2V - 4 edges, a stronger bound than the general 3V - 6.

More Coding Interview Problems questions

Exams that ask this topic