1.

How many edges does a n vertex triangle free graph contains?(a) n^2(b) n^2 + 2(c) n^2 / 4(d) n^3I have been asked this question during an interview.My doubt stems from Bipartite Graphs topic in division Bipartite Graphs of Data Structures & Algorithms II

Answer» CORRECT choice is (C) n^2 / 4

The best explanation: A n vertex triangle free graph contains a total of n^2 / 4 NUMBER of EDGES. This is stated by Mantel’s Theorem which is a SPECIAL case in Turan’s theorem for r=2.


Discussion

No Comment Found

Related InterviewSolutions