**Flipkart Interview Puzzle - 3 June**

You and your two friends are working in a multinational company. How can you three find out the average salary of you all without disclosing your own salary to the other two ?

**For Solution :**Click Here

This Blog is a collection of brain teasers, puzzles (maths,fun,brain etc), riddles,Questions, Quiz.

You and your two friends are working in a multinational company. How can you three find out the average salary of you all without disclosing your own salary to the other two ?

Subscribe to:
Post Comments (Atom)

Difficulty Level 3/5
(803)
Logic Puzzles
(534)
Difficulty Level 4/5
(532)
Picture Puzzles
(384)
Maths Puzzles
(372)
Riddles
(369)
Difficulty Level 2/5
(360)
Trick Teasers
(300)
Popular Puzzles
(232)
Rebus Puzzles
(168)
Humor Puzzles
(161)
Series Puzzles
(138)
Interview Puzzle
(131)
What Word Am I
(103)
Difficulty Level 1/5
(90)
Equation Puzzles
(85)
Trivia
(79)
Mystery Puzzles
(76)
Who Am I
(60)
Difficulty level 5/5
(59)
Murder Mystery Puzzles
(45)
Algebra
(41)
Probability Puzzles
(40)
Square Count
(40)
Cipher Puzzles
(38)
IAS-EXAMS
(35)
Science Puzzles
(34)
MatchSticks-Riddles
(28)
Situation Puzzles
(28)
Puzzles of Age
(23)
statement
(19)
Google Interview Puzzle
(18)
Read Between Lines Puzzles
(18)
Microsoft Interview Puzzles
(16)
Odd One Out
(15)
Time Distance Problem
(14)
Relationship Puzzles
(12)
Cards
(11)
Story Puzzles
(11)
Paradox Puzzles
(9)
Classic
(6)
Directional Puzzles
(6)
Best Of 2011
(5)
clever
(5)
Analytical
(4)
Brain-Twister
(4)
Mind Games
(4)
chess
(4)
What Does This Text Mean
(3)
CHALLENGING
(2)
Double Meaning
(2)
Acronym
(1)
Measure
(1)
Suduko
(1)
Video Riddle
(1)
coin-Puzzles
(1)
m
(1)
pop
(1)
triv
(1)

The first guy should add a secret random number to his salary amount and pass that sum to the second guy. He has to add his salary value to that sum and pass it to the third who will also do the same. The resulting number will have the sum of 3 salary smount plus that secret number. Finally, this result should be passed from third guy to the first who will subtract the secret number from it, divide by 3 to find average and communicate the same to the other two.

ReplyDeleteBetter solution:

ReplyDeleteFirst guy should add a negative number to his salary (so that the sum itself becomes negative) and pass it to second guy. To this sum, second guy should add another negative number and his own salary making sure the new sum is still negative.. and pass it to third guy. Third guy should repeat the process.

After that, the first guy subtract that negative number (same as saying add the abs of that number) to the new sum and pass it to second guy. Second guy should repeat the process and so should third guy.

Let the third guy divide that by 3 which is the average salary.

-------------

This solution is better because it doesn't even give a clue that one's salary is certainly not above the sum that they are disclosed.

---------------

"How can you three find out the average salary of you all without disclosing your OWN salary to the other two ?"

ReplyDeleteAsk the other two for their salaries and get a calculator

"How can you three find out the average salary of you all without disclosing your OWN salary to the other two ?"

ReplyDeleteAsk the other two ... and get a calculator

Let us say that the three people are A, B and C respectively. Now you, A will tell the sum of your salary and a random number to B.

ReplyDeleteSA (Actual Salary) + A (random number of A)

In the same manner your friend B, will add his salary with a random number to the amount given by A (you) and will pass it to C.

(SA + A) + (SB + B)

C will do the same.

(SA + A) + (SB + B) + (SC + C)

Now C will pass this total amount to A. He will subtract his random number from the amount and it will become:

(SA) + (SB + B) + (SC + C)

Then he will pass it to B and B will subtract his random number from the amount.

(SA) + (SB) + (SC + C)

Then he will pass this to C who will subtract his random number.

(SA) + (SB) + (SC)

Now C has the total amount of their combined salaries. He will tell the amount to all of you and you can easily divide it by 3 to get the average salary.

Ask them to write their actual salaries on a paper and randomly mix before you get it. Add it to theirs and get the average..

ReplyDeleteMeets the conditions in the question.

But the random number solution is more elegant

Buy Led tv in Delhi from

ReplyDeleteSargam Electronics

get discount coupons http://couponhaat.in

ReplyDeletehttp://askmebazaarcoupon.in

ReplyDelete