Expected triangles in a random friendship network
Six people attend a mixer. Each of the possible pairs becomes friends independently with probability . A "triangle" is a set of 3 people who are all mutually friends.
On average, how many mutual-friend triangles form among the 6 people?
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion · reading is open to everyone
💡 Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
Expected triangles among ten random collaboratorsExpected mutual-follow triangles among seven usersExpected triangles among five random teammatesExpected triangles among eight coin-flip linksHow many rising steps in a shuffled list?
All questions →