Other assumptions of these problems may include that no water can be spilled , and that each step pouring water from a source jug to a destination jug stops when either the source jug is empty .
The destination jug is full , whichever happens first .
Other assumptions of these problems may include that no water can be spilled , and that each step pouring water from a source jug to a destination jug stops when either the source jug is empty or the destination jug is full , whichever happens first .