Water and Jug Problem
Water and Jug Problem gives you two jugs, their capacities, and a target amount. Decide whether filling, emptying, and pouring can make their combined water exactly equal the target.
We'll cover the following...
We'll cover the following...
Statement
You are given two jugs with capacities of x liters and y liters, respectively, ...