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.
Pour first 6 gallon into 11 gallon. Pour in second 6 gallon. Leaves 1 gallon in second 6 gallon. Empty 11 gallon. Fill other 6 gallon and pour into 11 gallon. Repeat, leaving 11 gallon full and 1 gallon in both 6 gallon buckets. Empty 11 gallon. Pour both 1 gallons from the 6 gallon buckets into 11 gallon. Fill one 6 gallon and add to 11 gallon, thereby leaving 8 gallons. This is surely the answer.