Friend Circles Flashcards

1
Q

Friend Circles

There are N 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.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly