A simple graph in which each pair of distinct vertices is joined by an edge is called a complete graph. We denote by Kn the complete graph on n vertices. A simple bipartite graph with bipartition (X,Y) such that every vertex of X is adjacent to every vertex of Y is called a complete bipartite graph.
If |X| = m and |Y| = n, we denote this graph with Km,n.
(a) How many edges does Kn have?
(b) How many edges does Km,n have?