What is the maximum number of edges in an undirected graph with n nodes?
I've seen a question, but it's about directed graph
The maximum number of edges in an undirected graph is n(n-1)/2.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With