|At 7 February 2013, 23:04:18 user cheerio wrote: [reply @ cheerio]|
reminds me of modulo hashing :D
fill the 3l bucket and dumb it into the 5l bucket. fill the 3l bucket again and fill the 5l bucket until it is full. you have 1l left in your 3l bucket...
you promised a herder one :)
At 7 February 2013, 22:19:25 user Jacek wrote: [reply @ Jacek]
Fill the 3l cup and pour the 3 liters to the 5 liter cup. Fill the 3 liter cup again and pour to the 5 liter cup until it gets full. Since the 5 liter cup was 2 liters away from being full, 1 liter will remain in the 3 liter cup.