SyntaxFix
Write A Post
Hire A Developer
Questions
If the graph is not a multi graph then it is clearly n * (n - 1), as each node can at most have edges to every other node. If this is a multigraph, then there is no max limit.