November 9, 2006
n-jugs
Given a set of n jugs of different sizes, how would you dump water between them to get a specific amount? If you have ever watched Diehard III, you might have seen this with 2 jugs. In the movie they are given 4 and 5 gallon jugs and are asked [...]
Filed by shim at November 9th, 2006 under Code
No comments on this post yet