ZS Associates Interview Question

4 liter jug problem,daughter age puzzle