Chatham Financial Interview Question: You've got 4 jars of pills wi... | Glassdoor

Interview Question

Software Developer Interview Kennett Square, PA

You've got 4 jars of pills with 3 jars contained 1 gram

  pills and 1 jar containing 1.1 gram pills. You have a scale that can weigh them only once. How do you figure out which jar has the 1.1 gram pills.

Interview Answer

1 Answer


Put a varying number of pills from each jar on the scale. When 1.1 grams * unique varying number is added to the sum of all pills, the unique number will be visible after the decimal.

Interview Candidate on Nov 14, 2017

Add Answers or Comments

To comment on this, Sign In or Sign Up.