There are s students in a class. Some of them are friends, while some are not. Their friendship is transitive in nature. For example, if a is a direct friend of b, and b is a direct friend of c, then a is an indirect friend of c. And we defined a friend circle is a group of students who are direct or indirect friends.
Answers
Answered by
0
bache hai toh hona du kya farak padta hai
Similar questions