employees @nd the!r $@l@r!es

Posted: June 28, 2011 in Br@!n Te@$er$
Tags: , ,


A new brain teaser!

Imagine there are four employees seated for their dinner.   Each employee is not aware of  the others salaries. And our aim is to find the average salary of all four. And obviously they cant let others know about their salary. So come up with a strategy,  by which they can find their average salary without knowing others salary.

  1. Ramu Chandran says:

    Step 1:
    Employee 1 adds a random number (of the same order of magnitude as the salary) and whispers the number to Employee 2.

    Step 2
    Employee 2 adds his/her salary and whispers the sum to Employee 3.

    Step 3:
    Employee 3 repeats step 2 and whispers to Employee 4

    Step 4:
    Employee 4 repeats step 2 but whispers the sum to Employee 1

    Step 5: Employee 1 now subtracts the random number added and divides the sum by 4

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s