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.