Show the worked solutionIn a simple undirected graph each edge is an unordered pair of distinct vertices, and each pair can be joined at most once:\[\max|E|=\binom n2=\frac{n(n-1)}{2},\]attained by the complete graph \(K_n\). \(n(n-1)\) counts ordered pairs (directed edges) and \(n^2\) includes self-loops.Answer: D
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com