All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Gossip (Posted on 2012-07-26) Difficulty: 3 of 5
n people know each a different piece of gossip.

They can phone each other and exchange all they know so that after the call the parties know anything that either of them knew before the call.

What is the smallest number of calls needed so that everyone knows everything and how is this number achieved?

No Solution Yet Submitted by Ady TZIDON    
Rating: 4.5000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re: solution, some doubts | Comment 3 of 12 |
(In reply to solution by Dej Mar)

I have some doubts regarding the 2n-3 formula.

According to the formula, 4 people should need 2*4-3 = 5 calls
Let the 4 people be A, B, C and D

Call 1
A calls B
A has info A+B
B has info B+A

Call 2
C calls D
C has info C+D
D has info D+C

Call 3
A calls C
A has info A+B+C+D
C has info C+D+A+B

Call 4
B calls D
B has info B+A+D+C
D has info D+C+B+A


  Posted by Hugo on 2012-07-26 13:36:13
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (6)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information