Fast Enterprises Interview Question: find the heavier bean... you ... | Glassdoor

Interview Question

Software Developer Interview

find the heavier bean... you have 6 beans and can only use

  the scale twice... the scale is an old time balance (think of the justice scales)

Interview Answer

1 Answer


3 beans on each side of the scale. eliminate the 3 lighter beans.
weigh 2 of the 3 beans remaining. if they weigh the same, the heavier bean is the unweighed one. choose the heavier one otherwise.

Anonymous on Nov 19, 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.