1,449 views
0 0 votes
Consider an undirected graph G with 100 nodes. What is the maximum number of edges to be included in G so that graph is connected?

(a) 2451

(b) 4851

(c) 4950

(d) 9990

2 Answers

3 3 votes
Maximum number of edges to make graph connected is $\frac{n*(n-1)}{2}$

$\frac{100*99}{2}= 4950$

so C
0 0 votes

Two ways of interpreting this question : 

1) For maximum, it will be same as maximum edges that can be present in a simple graph (Assuming it is not a Multi-graph). that is n(n-1)/2 = 4950. Coz a complete graph is always connected and will have maximum possible edges. 

2) But if the question is, what is the maximum number of edges that are possible so that if you add one more edge then it will be connected otherwise not. So we can imagine an isolated vertex and Kn-1 graph. Now if you add just an edge to the isolated vertex, then it will be connected and number of edges in that case would be $\frac{(n-1)(n-2)}{2}+1$ = 99*98/2 + 1 = 4852 (Which is not given in option).

So I guess first interpretation is correct and answer is 4950. 

Position:
Show:

Related questions

0 0 votes
3 answers 3 answers
2.0k
2.0k views
rickeshjohn asked Dec 23, 2015
2,000 views
Sliding Window Protocol with Selective Reject/Repeat gives better performance than other protocols whena) buffer is sufficient and bandwidth is limitedb) buffer is modera...
1 1 vote
0 0 answers
594
594 views
TusharRana asked Feb 8, 2024
594 views
The minimum number of colours that is sufficient to vertex-colour any planar graph is ________.I am confused with the question's language.please correct me if I have a wr...
1 1 vote
1 1 answer
821
821 views
admin asked Apr 2, 2020
821 views
Degree of each vertex in $K_n$ is $n$$n-1$$n-2$$2n-1$
0 0 votes
2 2 answers
2.7k
2.7k views
admin asked Mar 31, 2020
2,650 views
The number of ways to cut a six sided convex polygon whose vertices are labeled into four triangles using diagonal lines that do not cross is$13$$14$$12$$11$