254 views
2 votes
2 votes

Consider a social network with n persons. Two persons A and B are said to be connected if either they are friends or they are related through a sequence of friends: that is, there exists a set of persons F1, . . . , Fm such that A and F1 are friends, F1 and F2 are friends, . . . . . . . ., Fm−1 and Fm are friends, and finally Fm and B are friends. It is known that there are k persons such that no pair among them is connected. What is the maximum number of friendships possible?

   
   
 

(A) n−k+1C2

 

(B) n-kC2

 

(C) n-k-1C2

 

(D) none

1 Answer

1 votes
1 votes
There are $k$ isolated vertices.

Maximum friendship possible is maximum number of edges present.

Therefore   ${n-k \choose 2}$ which is B.
edited by

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
0 answers
2
Anuj Mishra asked Nov 11, 2018
153 views