Verint interview question

How do you measure 4 gallons with only a 5 gallon and a 3 gallon bucket?

Interview Answers

Anonymous

22 Oct 2010

1.Dump 3 gal into 5 gal 2. Fill 3 ga and empty into 5 gal again 3. This will leave 1 gal in the 3 gal 4. Dump the 5 gal 5.Add the 1 gal from the 3 gal to the 5 gal 6. Fill the 3 gal again 7. Dump the 3 gal into the 5 gal (where there is all ready 1 gal) 8. Now there are 4 gallons of water in the 5 gallon bucket.

15

Anonymous

7 Jul 2015

1. Fill 5 gal bucket 2. Fill 3 gal using 5 gal. This leaves 2 gal in the gal bucket. 3. Empty 3 gal 4. Pour remaining 2 gal from 5 gal bucket into 3 gal bucket. 5. Fill 5 gal bucket 6. Fill up 3 gal bucket using 5 gal bucket. This will leave 4 gal in the 5 gal bucket

3

Anonymous

16 Oct 2015

Fill both buckets with half of its total volume and combine the content of both :)

1

Anonymous

2 Jun 2011

From the full 5 gallon bucket, you get the 3 gallons needed to make the smaller bucket full. You now have 2 gallons remaining in the big bucket. Then you empty the 3 gallon bucket and drop the residual 2 gallons from the big one into it. Then you mark the 2 gallon level in the 3 gallon bucket. Now you can drop the two gallons back into the big bucket, then go by the mark to collect two more gallons in the small bucket and drop again into the big bucket, whence you obtain 2+2 = 4 gallons.

Anonymous

4 May 2011

Shift some water from the 5 gallon bucket to 3 gallon bucket to make both the buckets have same amount of water. when both the buckets have same amount of water. That means both contain 4 gallons of water.