Water and Jug Problem
Water and Jug Problem asks you to return TRUE when two jugs with fixed capacities can hold exactly the target total using only filling, emptying, and pouring operations.
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, ...