Featured Answer

Asked on

Trying to find a function?

Here's the problem:

There are n people, each knows a single unique fact. I need a function to model the minimum number of phone calls it would take for everyone to know every fact. When a phone call is made, the people exchange all the facts that they currently know. Can someone help?

Answers (2)

Collapse
qbfdhjivaa profile image
Collapse
gedpr78iaa profile image

I'm having a little trouble figuring out how to prove this, but it seems like the function would just be n-1.