What is the maximum number of edges in a directed graph with n nodes? Is there any upper bound?
If you have N
nodes, there are N - 1
directed edges than can lead from it (going to every other node). Therefore, the maximum number of edges is N * (N - 1)
.