Data Structures & AlgorithmsHardICPC regional · graph theory

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

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

Correct answer: A. 3V - 6

Euler's formula for planar graphs gives at most 3V - 6 edges for V >= 3.

More Coding Interview Problems questions

Exams that ask this topic