**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
(689)
Logic Puzzles
(459)
Difficulty Level 4/5
(430)
Riddles
(364)
Difficulty Level 2/5
(349)
Maths Puzzles
(331)
Picture Puzzles
(308)
Trick Teasers
(270)
Popular Puzzles
(208)
Rebus Puzzles
(149)
Humor Puzzles
(147)
Interview Puzzle
(118)
Series Puzzles
(118)
What Word Am I
(95)
Difficulty Level 1/5
(90)
Trivia
(74)
Mystery Puzzles
(71)
Equation Puzzles
(62)
Difficulty level 5/5
(51)
Murder Mystery Puzzles
(43)
Probability Puzzles
(39)
Square Count
(39)
Who Am I
(36)
IAS-EXAMS
(34)
Science Puzzles
(30)
Cipher Puzzles
(28)
Situation Puzzles
(28)
Algebra
(23)
Puzzles of Age
(21)
Read Between Lines Puzzles
(18)
Google Interview Puzzle
(17)
Microsoft Interview Puzzles
(15)
Time Distance Problem
(14)
statement
(14)
MatchSticks-Riddles
(12)
Odd One Out
(12)
Relationship Puzzles
(11)
Story Puzzles
(10)
Cards
(9)
Paradox Puzzles
(8)
Classic
(6)
Best Of 2011
(5)
Directional Puzzles
(5)
clever
(5)
Brain-Twister
(4)
Mind Games
(4)
Analytical
(3)
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