182k views
0 votes
What is the maximum number of edges for an undirected graph? A directed graph?

1 Answer

4 votes

Answer:

For undirected graph n(n-1) for directed graph
(n(n-1))/(2)

Step-by-step explanation:

The maximum number of edges for a undirected graph is given by
n(n-1), where n is number of vertices

The maximum number of edges in directed graph is given by
(n(n-1))/(2), where n is number of vertices

The maximum number of edges is greater in undirected graph than directed graph

User Ranu Vijay
by
5.0k points