A farmer needs 8 gallons of water. He has only three unmarked buckets, two 6 gallon and one 11 gallon bucket.
How can he collect 8 gallons of water using three unmarked buckets? Provide solution with minimal water wastage.
Farmer fills 6 gallon bucket and pours into 11 gallon bucket, then repeats until 11 gallon bucket is full, thus leaving 1 gallon in the 6 gallon bucket. He then fills the other 6 gallon bucket using the water he already has in the 11 gallon bucket, thus leaving 5 gallons in the 11 gallon bucket and the remaining 6 gallon bucket full. He then empties the 5 gallons in the 11 gallon bucket and pours the 6 gallon bucket back in. He then refills the second 6 gallon bucket and pours that in the 11 gallon, until the 11 gallon is full, thus leaving 1 gallon in both the 6 gallon buckets. He then empties the 11 gallon bucket completely, pours in the single gallon from both the 6 gallon buckets to give two gallons, then fills one of the now empty six gallon buckets and adds it to the 11 gallon bucket, thus leaving 8 gallons. Phew!