Working out the jug problem in python
Everyone knows the classic water jug problem. You are by a stream with a 5-Litre and a 7-Litre bucket. How do you measure out 6-Litres in the fewest possible pourings? You first fill up the 7 and so on. You might not have seen this particular proble...
May 16, 20224 min read44
