Monthly Archive: August 2012

Aug 16

Learning the Dart Structured Web Language by solving the water bucket logic problem

The Water Bucket Logic Problem You may have seen this logic problem: You have two buckets, one holds 3 gallons of water and one holds 5 gallons of water, there is also a source of water nearby. How do you measure out exactly 4 gallons? I was recently asked to build a program that determines …

Continue reading »