1.

What is the maximum number of edges present in a simple directed graph with 7 vertices if there exists no cycles in the graph?(a) 21(b) 7(c) 6(d) 49My doubt stems from Directed Graph topic in chapter Graph of Data Structures & Algorithms IThis question was posed to me in quiz.

Answer»

The CORRECT CHOICE is (c) 6

For explanation: If the no cycles exists then the DIFFERENCE between the number of vertices and EDGES is 1.



Discussion

No Comment Found

Related InterviewSolutions