Sir, if it is an undirected edge, then is it considered as one single edge or is it counted as 2 edges?
Doubt in a concept
hello @vageesha
theoretically it is one single edge but while implementing we push two directional edges (a->b ,b->a) to get an undirected edge
sir, then the maximum number of edges in case of a connected graph should be 2*nc2 and not nc2?
its nc2 … every node is connected to every other node .
see only while implementation we push two eges a->b b->a to indicate bidirectional nature of edge.